summaryrefslogtreecommitdiff
path: root/common.mk
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2007-06-15 13:31:54 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2007-06-15 13:31:54 +0000
commit5cf53bcb016926bb220e01e86ae37f97b07806d6 (patch)
tree017015ec6a0d15f885f6a65a6e5d54fbd732ee89 /common.mk
parent5dae2fe2ea6ae860868fdbf10c2352be93be1de9 (diff)
* common.mk (realclean): separate local and ext.
* ext/extmk.rb: not remove unrelated directories. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@12553 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'common.mk')
-rw-r--r--common.mk5
1 files changed, 4 insertions, 1 deletions
diff --git a/common.mk b/common.mk
index 71df932537..db78c40367 100644
--- a/common.mk
+++ b/common.mk
@@ -279,8 +279,11 @@ distclean-local:: clean-local
distclean-ext:
@-$(MINIRUBY) $(srcdir)/ext/extmk.rb $(EXTMK_ARGS) distclean
-realclean:: distclean
+realclean:: realclean-ext realclean-local
+realclean-local:: distclean-local
@$(RM) parse.c lex.c
+realclean-ext::
+ @-$(MINIRUBY) $(srcdir)/ext/extmk.rb $(EXTMK_ARGS) realclean
check: test test-all