From 56faedc99de61eda8664ae447463ac76b8db1d8a Mon Sep 17 00:00:00 2001 From: nobu Date: Sun, 24 Feb 2008 14:29:51 +0000 Subject: [PATCH] * common.mk, {bcc,win}32/Makefile.sub (clean-local): remove intermediate files. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@15592 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- ChangeLog | 5 +++++ bcc32/Makefile.sub | 2 +- common.mk | 3 ++- win32/Makefile.sub | 2 +- 4 files changed, 9 insertions(+), 3 deletions(-) diff --git a/ChangeLog b/ChangeLog index 763826d19b..d5a1b3cc11 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +Sun Feb 24 23:29:48 2008 Nobuyoshi Nakada + + * common.mk, {bcc,win}32/Makefile.sub (clean-local): remove + intermediate files. + Sun Feb 24 03:52:58 2008 Nobuyoshi Nakada * util.c (valid_filename): use O_EXCL to get rid of clobbering diff --git a/bcc32/Makefile.sub b/bcc32/Makefile.sub index e9f7296856..92b2f56630 100644 --- a/bcc32/Makefile.sub +++ b/bcc32/Makefile.sub @@ -462,10 +462,10 @@ post-install-doc:: clean-local:: @$(RM) ext\extinit.c ext\extinit.$(OBJEXT) *.tds *.il? $(RUBY_SO_NAME).lib @$(RM) $(RUBY_INSTALL_NAME).res $(RUBYW_INSTALL_NAME).res $(RUBY_SO_NAME).res + @$(RM) *.map *.pdb *.ilk *.exp $(RUBYDEF) distclean-local:: @$(RM) ext\config.cache $(RBCONFIG:/=\) - @$(RM) *.map *.pdb *.ilk *.exp $(RUBYDEF) @$(RM) $(RUBY_INSTALL_NAME).rc $(RUBYW_INSTALL_NAME).rc $(RUBY_SO_NAME).rc ext/extinit.obj: ext/extinit.c $(SETUP) diff --git a/common.mk b/common.mk index 9126c25fba..ec8fc8491e 100644 --- a/common.mk +++ b/common.mk @@ -272,6 +272,7 @@ clean: clean-ext clean-local clean-local:: @$(RM) $(OBJS) $(MAINOBJ) $(WINMAINOBJ) $(LIBRUBY_A) $(LIBRUBY_SO) $(LIBRUBY) $(LIBRUBY_ALIASES) @$(RM) $(PROGRAM) $(WPROGRAM) miniruby$(EXEEXT) dmyext.$(OBJEXT) $(ARCHFILE) .*.time + @$(RM) y.tab.c y.output clean-ext: @-$(MINIRUBY) $(srcdir)/ext/extmk.rb --make="$(MAKE)" $(EXTMK_ARGS) clean @@ -279,7 +280,7 @@ distclean: distclean-ext distclean-local distclean-local:: clean-local @$(RM) $(MKFILES) config.h rbconfig.rb @$(RM) config.cache config.log config.status - @$(RM) *~ *.bak *.stackdump core *.core gmon.out y.tab.c y.output $(PREP) + @$(RM) *~ *.bak *.stackdump core *.core gmon.out $(PREP) distclean-ext: @-$(MINIRUBY) $(srcdir)/ext/extmk.rb --make="$(MAKE)" $(EXTMK_ARGS) distclean diff --git a/win32/Makefile.sub b/win32/Makefile.sub index 8ce9cf736e..5cf63b1f45 100644 --- a/win32/Makefile.sub +++ b/win32/Makefile.sub @@ -605,10 +605,10 @@ $(RUBYDEF): $(LIBRUBY_A) $(PREP) clean-local:: @$(RM) ext\extinit.c ext\extinit.$(OBJEXT) ext\vc*.pdb miniruby.lib @$(RM) $(RUBY_INSTALL_NAME).res $(RUBYW_INSTALL_NAME).res $(RUBY_SO_NAME).res + @$(RM) *.map *.pdb *.ilk *.exp $(RUBYDEF) distclean-local:: @$(RM) ext\config.cache $(RBCONFIG:/=\) $(CONFIG_H:/=\) - @$(RM) *.map *.pdb *.ilk *.exp $(RUBYDEF) @$(RM) $(RUBY_INSTALL_NAME).rc $(RUBYW_INSTALL_NAME).rc $(RUBY_SO_NAME).rc $(RUBY_INSTALL_NAME).rc $(RUBYW_INSTALL_NAME).rc $(RUBY_SO_NAME).rc: $(RBCONFIG)