Permalink
Browse files

Use ENV to figure out make

  • Loading branch information...
1 parent d22ad2d commit 3bc5c5cd5517b58e029e7d8828836d6338c38a63 @drbrain drbrain committed Oct 15, 2008
Showing with 4 additions and 3 deletions.
  1. +4 −3 rakelib/vm.rake
View
@@ -1,4 +1,5 @@
require 'tmpdir'
+require 'rakelib/rubinius'
task :vm => 'vm/vm'
@@ -202,9 +203,9 @@ files EXTERNALS do |t|
configure_path = File.join(path, 'configure')
if File.exist? configure_path then
- sh "cd #{path}; ./configure #{OPTIONS[t.name]} && make"
+ sh "cd #{path}; ./configure #{OPTIONS[t.name]} && #{make}"
else
- sh "cd #{path}; make"
+ sh "cd #{path}; #{make}"
end
end
@@ -331,7 +332,7 @@ namespace :vm do
task :distclean => :clean do
EXTERNALS.each do |lib|
path = File.join(*lib.split(File::SEPARATOR)[0..2])
- system "cd #{path}; make clean"
+ system "cd #{path}; #{make} clean"
end
end

0 comments on commit 3bc5c5c

Please sign in to comment.