summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authoryugui <yugui@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-09-01 13:44:54 +0000
committeryugui <yugui@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-09-01 13:44:54 +0000
commit8b51439a8d7f61c39adb06fa85bd7d188daa4a41 (patch)
tree3b6bf7c7d86fde0bcc8924125113bb76b0bf3300 /lib
parent8b244d063f8f71bef9d7cb98dabf6889e55897d8 (diff)
downloadruby-8b51439a8d7f61c39adb06fa85bd7d188daa4a41.tar.gz
ruby-8b51439a8d7f61c39adb06fa85bd7d188daa4a41.tar.xz
ruby-8b51439a8d7f61c39adb06fa85bd7d188daa4a41.zip
* lib/mkmf.rb (distclean): added RM_RF conftest.dSYM.
Fixes distclean-ext problem on Mac OS X. (RM_RF): added. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@19034 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib')
-rw-r--r--lib/mkmf.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/mkmf.rb b/lib/mkmf.rb
index 6a95395b9..6ef66344d 100644
--- a/lib/mkmf.rb
+++ b/lib/mkmf.rb
@@ -1380,6 +1380,7 @@ ruby_version = #{RbConfig::CONFIG['ruby_version']}
ruby = #{$ruby}
RUBY = $(ruby#{sep})
RM = #{config_string('RM') || '$(RUBY) -run -e rm -- -f'}
+RM_RF = #{'$(RUBY) -run -e rm -- -rf'}
MAKEDIRS = #{config_string('MAKEDIRS') || '@$(RUBY) -run -e mkdir -- -p'}
INSTALL = #{config_string('INSTALL') || '@$(RUBY) -run -e install -- -vp'}
INSTALL_PROG = #{config_string('INSTALL_PROG') || '$(INSTALL) -m 0755'}
@@ -1891,6 +1892,7 @@ clean:
@-$(RM) $(CLEANLIBS#{sep}) $(CLEANOBJS#{sep}) $(CLEANFILES#{sep})
distclean: clean
+ @-$(RM_RF) conftest.dSYM
@-$(RM) Makefile $(RUBY_EXTCONF_H) conftest.* mkmf.log
@-$(RM) core ruby$(EXEEXT) *~ $(DISTCLEANFILES#{sep})