* lib/mkmf.rb (distclean): added RM_RF conftest.dSYM.

Fixes distclean-ext problem on Mac OS X.
  (RM_RF): added.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19034 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
yugui 2008-09-01 13:44:54 +00:00
parent bb1d005da6
commit add4d16477
2 changed files with 8 additions and 0 deletions

View File

@ -1,3 +1,9 @@
Mon Sep 1 22:42:54 2008 Yuki Sonoda (Yugui) <yugui@yugui.jp>
* lib/mkmf.rb (distclean): added RM_RF conftest.dSYM.
Fixes distclean-ext problem on Mac OS X.
(RM_RF): added.
Mon Sep 1 22:37:06 2008 Shugo Maeda <shugo@ruby-lang.org>
* lib/rexml/document.rb: limit entity expansion.

View File

@ -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})