summaryrefslogtreecommitdiff
path: root/common.mk
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2009-01-25 02:23:47 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2009-01-25 02:23:47 +0000
commit0834056aec212978049db29a78718c18e5550f30 (patch)
tree5d6843c518629e533dcfed83b277fce0332b1abd /common.mk
parent97de7d1081e69ad9d63c03b0f6a700954f8e4402 (diff)
* common.mk (clean-extout): removes extout directory.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@21765 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'common.mk')
-rw-r--r--common.mk11
1 files changed, 8 insertions, 3 deletions
diff --git a/common.mk b/common.mk
index eaaa4bfbaf..6866182fe2 100644
--- a/common.mk
+++ b/common.mk
@@ -340,7 +340,7 @@ install-prereq: $(CLEAR_INSTALLED_LIST)
clear-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::
@$(RM) $(OBJS) $(MINIOBJS) $(MAINOBJ) $(LIBRUBY_A) $(LIBRUBY_SO) $(LIBRUBY) $(LIBRUBY_ALIASES)
@$(RM) $(PROGRAM) $(WPROGRAM) miniruby$(EXEEXT) dmyext.$(OBJEXT) $(ARCHFILE) .*.time
@@ -351,8 +351,10 @@ clean-enc:
clean-golf:
@$(RM) $(GORUBY)$(EXEEXT) $(GOLFOBJS)
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
@$(RM) $(MKFILES) rbconfig.rb yasmdata.rb encdb.h
@$(RM) config.cache config.log config.status config.status.lineno $(PRELUDES)
@@ -363,13 +365,16 @@ distclean-enc: clean-enc
distclean-golf: clean-golf
@$(RM) $(GOLFPRELUDES)
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
@$(RM) parse.c parse.h lex.c newline.c revision.h
realclean-ext::
realclean-enc:: distclean-enc
realclean-golf: distclean-golf
+realclean-extout: distclean-extout
check: test test-all