summaryrefslogtreecommitdiffstats
path: root/docs/Rakefile
diff options
context:
space:
mode:
authorStephen Dolan <mu@netsoc.tcd.ie>2013-05-11 14:57:58 +0100
committerStephen Dolan <mu@netsoc.tcd.ie>2013-05-11 14:57:58 +0100
commit4a5405e4b824b9f935f3f398c53fb83b8d07a15c (patch)
tree2ce3069f0c6de9122ed8e5ce3a3e06da95c10227 /docs/Rakefile
parentd03149f4df5c91c16c77d5bda89cdcf724113544 (diff)
Rake task to build website including source dist and binaries.
Diffstat (limited to 'docs/Rakefile')
-rw-r--r--docs/Rakefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/Rakefile b/docs/Rakefile
index 6ef83d01..4ca5752f 100644
--- a/docs/Rakefile
+++ b/docs/Rakefile
@@ -75,7 +75,7 @@ $BINARIES = {
$BINARIES.each do |name, args|
file "../build/#{name}" do |t|
- sh "MAKEFLAGS=-j4 ../build/compile #{name} #{args}"
+ sh "MAKEFLAGS=-j4 ../scripts/crosscompile #{name} #{args}"
end
task :binaries => ["../build/#{name}"]
end
@@ -139,7 +139,7 @@ end
directory "output/download/source"
task :tarball => ["output/download/source"] do
- sh "cd ..; make dist"
+ sh "cd ..; ./configure && make dist && make distclean"
sh "cp ../jq-*.tar.gz output/download/source"
end