Permalink
Browse files

Extensions are built via rake now rather than make.

This avoids errors from running "make all" on a fresh checkout,
since building extensions requires the runtime environment.
  • Loading branch information...
Tilman Sauerbeck
Tilman Sauerbeck committed Oct 18, 2007
1 parent 0c1968c commit 10ccba7c255c5a06253ec23fbe5b480187731b08
Showing with 3 additions and 6 deletions.
  1. +1 −4 Makefile
  2. +2 −2 Rakefile
View
@@ -1,14 +1,11 @@
include shotgun/config.mk
-all: vm exts
+all: vm
vm:
cd shotgun; $(MAKE) rubinius
-exts: vm
- ./shotgun/rubinius compile lib/ext/syck
-
install:
cd shotgun; $(MAKE) install
mkdir -p $(RBAPATH)
View
@@ -298,8 +298,8 @@ namespace :build do
sh "make vm"
end
- task :extensions do
- sh "make exts"
+ task :extensions => ["build:shotgun", "build:rbc"] do
+ sh "./shotgun/rubinius compile lib/ext/syck"
end
file "shotgun/config.h" do

0 comments on commit 10ccba7

Please sign in to comment.