public
Description: Rubinius, the Ruby VM
Homepage: http://rubini.us
Clone URL: git://github.com/evanphx/rubinius.git
Add a clean:config task to clean:all so changes in PREFIX work

Updates the Rakefile so clean:all deletes config.h and
config.mk. Previously once config.h and config.mk were created they
weren't changed if the PREFIX changed.

Signed-off-by: Brian Ford <bford@engineyard.com>
stepheneb (author)
Mon Apr 07 20:13:50 -0700 2008
brixen (committer)
Mon Apr 07 20:35:52 -0700 2008
commit  9d1378bf05abfcd4e6c5f2162ab9a2b2e651d3e0
tree    1c55ca6823d9587b2cac05eaaec87f88c1f80d16
parent  36f5a592fe4b2c9e53b7b848b8abd158dc1776c8
...
215
216
217
218
 
219
220
221
...
259
260
261
 
 
 
 
 
 
262
263
264
...
215
216
217
 
218
219
220
221
...
259
260
261
262
263
264
265
266
267
268
269
270
0
@@ -215,7 +215,7 @@ task :distclean => "clean:distclean"
0
 
0
 namespace :clean do
0
   desc "Clean everything but third-party libs"
0
- task :all => %w[clean:rbc clean:extensions clean:shotgun clean:generated clean:crap]
0
+ task :all => %w[clean:rbc clean:extensions clean:shotgun clean:generated clean:crap clean:config]
0
 
0
   desc "Clean everything including third-party libs"
0
   task :distclean => %w[clean:all clean:external]
0
@@ -259,6 +259,12 @@ namespace :clean do
0
   task :crap do
0
     rm_f Dir["*~"] + Dir["**/*~"], :verbose => $verbose
0
   end
0
+
0
+ desc "Cleans up config files (so they can be regenerated when you change PREFIX)"
0
+ task :config do
0
+ rm "shotgun/config.h", :verbose => $verbose
0
+ rm "shotgun/config.mk", :verbose => $verbose
0
+ end
0
 end
0
 
0
 # SPEC TASKS

Comments

    No one has commented yet.