mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* common.mk (clean-extout): removes extout directory.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@21765 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
97de7d1081
commit
0834056aec
4 changed files with 14 additions and 11 deletions
|
@ -1,4 +1,4 @@
|
||||||
Sun Jan 25 11:07:51 2009 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
Sun Jan 25 11:25:10 2009 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
||||||
|
|
||||||
* Makefile.in, win32/Makefile.sub (RMDIRS): remove directory and
|
* Makefile.in, win32/Makefile.sub (RMDIRS): remove directory and
|
||||||
parents.
|
parents.
|
||||||
|
@ -6,14 +6,13 @@ Sun Jan 25 11:07:51 2009 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
||||||
* Makefile.in, win32/Makefile.sub (distclean-rdoc): added to remove
|
* Makefile.in, win32/Makefile.sub (distclean-rdoc): added to remove
|
||||||
temprary rdoc.
|
temprary rdoc.
|
||||||
|
|
||||||
* Makefile.in, win32/Makefile.sub (distclean): removes extout
|
|
||||||
directory.
|
|
||||||
|
|
||||||
* Makefile.in, win32/Makefile.sub (clean-ext): skips non-existent
|
* Makefile.in, win32/Makefile.sub (clean-ext): skips non-existent
|
||||||
directories.
|
directories.
|
||||||
|
|
||||||
* common.mk (clean, distclean): cleans rdoc.
|
* common.mk (clean, distclean): cleans rdoc.
|
||||||
|
|
||||||
|
* common.mk (clean-extout): removes extout directory.
|
||||||
|
|
||||||
* configure.in (RMDIRS, RMALL): added to clean extout.
|
* configure.in (RMDIRS, RMALL): added to clean extout.
|
||||||
|
|
||||||
* lib/fileutils.rb (FileUtils#rmdir): added :parents option.
|
* lib/fileutils.rb (FileUtils#rmdir): added :parents option.
|
||||||
|
|
|
@ -229,10 +229,6 @@ distclean-local::
|
||||||
distclean-rdoc:
|
distclean-rdoc:
|
||||||
@$(RMALL) $(RDOCOUT:/=\)
|
@$(RMALL) $(RDOCOUT:/=\)
|
||||||
|
|
||||||
distclean:
|
|
||||||
@-rmdir $(EXTOUT)/$(arch)
|
|
||||||
@-rmdir $(EXTOUT)
|
|
||||||
|
|
||||||
clean-ext distclean-ext realclean-ext::
|
clean-ext distclean-ext realclean-ext::
|
||||||
@set dummy ${EXTS}; shift; \
|
@set dummy ${EXTS}; shift; \
|
||||||
if test "$$#" = 0; then \
|
if test "$$#" = 0; then \
|
||||||
|
|
11
common.mk
11
common.mk
|
@ -340,7 +340,7 @@ install-prereq: $(CLEAR_INSTALLED_LIST)
|
||||||
clear-installed-list:
|
clear-installed-list:
|
||||||
@exit > $(INSTALLED_LIST)
|
@exit > $(INSTALLED_LIST)
|
||||||
|
|
||||||
clean: clean-ext clean-local clean-enc clean-golf clean-rdoc
|
clean: clean-ext clean-local clean-enc clean-golf clean-rdoc clean-extout
|
||||||
clean-local::
|
clean-local::
|
||||||
@$(RM) $(OBJS) $(MINIOBJS) $(MAINOBJ) $(LIBRUBY_A) $(LIBRUBY_SO) $(LIBRUBY) $(LIBRUBY_ALIASES)
|
@$(RM) $(OBJS) $(MINIOBJS) $(MAINOBJ) $(LIBRUBY_A) $(LIBRUBY_SO) $(LIBRUBY) $(LIBRUBY_ALIASES)
|
||||||
@$(RM) $(PROGRAM) $(WPROGRAM) miniruby$(EXEEXT) dmyext.$(OBJEXT) $(ARCHFILE) .*.time
|
@$(RM) $(PROGRAM) $(WPROGRAM) miniruby$(EXEEXT) dmyext.$(OBJEXT) $(ARCHFILE) .*.time
|
||||||
|
@ -351,8 +351,10 @@ clean-enc:
|
||||||
clean-golf:
|
clean-golf:
|
||||||
@$(RM) $(GORUBY)$(EXEEXT) $(GOLFOBJS)
|
@$(RM) $(GORUBY)$(EXEEXT) $(GOLFOBJS)
|
||||||
clean-rdoc:
|
clean-rdoc:
|
||||||
|
clean-extout:
|
||||||
|
@-$(RMDIRS) $(EXTOUT)/$(arch)
|
||||||
|
|
||||||
distclean: distclean-ext distclean-local distclean-enc distclean-golf
|
distclean: distclean-ext distclean-local distclean-enc distclean-golf distclean-extout
|
||||||
distclean-local:: clean-local
|
distclean-local:: clean-local
|
||||||
@$(RM) $(MKFILES) rbconfig.rb yasmdata.rb encdb.h
|
@$(RM) $(MKFILES) rbconfig.rb yasmdata.rb encdb.h
|
||||||
@$(RM) config.cache config.log config.status config.status.lineno $(PRELUDES)
|
@$(RM) config.cache config.log config.status config.status.lineno $(PRELUDES)
|
||||||
|
@ -363,13 +365,16 @@ distclean-enc: clean-enc
|
||||||
distclean-golf: clean-golf
|
distclean-golf: clean-golf
|
||||||
@$(RM) $(GOLFPRELUDES)
|
@$(RM) $(GOLFPRELUDES)
|
||||||
distclean-rdoc:
|
distclean-rdoc:
|
||||||
|
distclean-extout: clean-extout
|
||||||
|
@-$(RMDIRS) $(EXTOUT)
|
||||||
|
|
||||||
realclean:: realclean-ext realclean-local realclean-enc realclean-golf
|
realclean:: realclean-ext realclean-local realclean-enc realclean-golf realclean-extout
|
||||||
realclean-local:: distclean-local
|
realclean-local:: distclean-local
|
||||||
@$(RM) parse.c parse.h lex.c newline.c revision.h
|
@$(RM) parse.c parse.h lex.c newline.c revision.h
|
||||||
realclean-ext::
|
realclean-ext::
|
||||||
realclean-enc:: distclean-enc
|
realclean-enc:: distclean-enc
|
||||||
realclean-golf: distclean-golf
|
realclean-golf: distclean-golf
|
||||||
|
realclean-extout: distclean-extout
|
||||||
|
|
||||||
check: test test-all
|
check: test test-all
|
||||||
|
|
||||||
|
|
|
@ -712,6 +712,9 @@ clean-local::
|
||||||
@$(RM) $(RUBY_INSTALL_NAME).res $(RUBYW_INSTALL_NAME).res $(RUBY_SO_NAME).res
|
@$(RM) $(RUBY_INSTALL_NAME).res $(RUBYW_INSTALL_NAME).res $(RUBY_SO_NAME).res
|
||||||
@$(RM) *.map *.pdb *.ilk *.exp $(RUBYDEF) ext\ripper\y.output
|
@$(RM) *.map *.pdb *.ilk *.exp $(RUBYDEF) ext\ripper\y.output
|
||||||
|
|
||||||
|
clean:
|
||||||
|
@-rmdir $(EXTOUT:/=\)\$(arch)
|
||||||
|
|
||||||
distclean-local::
|
distclean-local::
|
||||||
@$(RM) ext\config.cache $(RBCONFIG:/=\) $(CONFIG_H:/=\)
|
@$(RM) ext\config.cache $(RBCONFIG:/=\) $(CONFIG_H:/=\)
|
||||||
@$(RM) $(RUBY_INSTALL_NAME).rc $(RUBYW_INSTALL_NAME).rc $(RUBY_SO_NAME).rc
|
@$(RM) $(RUBY_INSTALL_NAME).rc $(RUBYW_INSTALL_NAME).rc $(RUBY_SO_NAME).rc
|
||||||
|
|
Loading…
Add table
Reference in a new issue