summaryrefslogtreecommitdiff
path: root/common.mk
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2014-12-02 06:29:52 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2014-12-02 06:29:52 +0000
commit062f0eddc75495cc281dc5919e07b503e9931977 (patch)
tree03bf3fbe10b549d982140ede9c36d2a51cab9091 /common.mk
parentab9319d886da3c2e60ff2e642b48a4c376a5cd45 (diff)
common.mk: clean more files
* common.mk (distclean-local): clean fake file. * common.mk (realclean-local): clean generated files under srcdir. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48681 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'common.mk')
-rw-r--r--common.mk4
1 files changed, 3 insertions, 1 deletions
diff --git a/common.mk b/common.mk
index 76f16214fb..e4303f133f 100644
--- a/common.mk
+++ b/common.mk
@@ -477,7 +477,7 @@ clean-docs: clean-rdoc clean-capi
distclean: distclean-ext distclean-local distclean-enc distclean-golf distclean-extout distclean-platform
distclean-local:: clean-local
- $(Q)$(RM) $(MKFILES) yasmdata.rb *.inc
+ $(Q)$(RM) $(MKFILES) yasmdata.rb *.inc $(arch)-fake.rb
$(Q)$(RM) config.cache config.status config.status.lineno
$(Q)$(RM) *~ *.bak *.stackdump core *.core gmon.out $(PREP)
distclean-ext:: PHONY
@@ -490,6 +490,8 @@ distclean-platform: clean-platform
realclean:: realclean-ext realclean-local realclean-enc realclean-golf realclean-extout
realclean-local:: distclean-local
$(Q)$(RM) parse.c parse.h lex.c newline.c $(PRELUDES) revision.h
+ $(Q)$(CHDIR) $(srcdir) && $(exec) $(RM) parse.c parse.h lex.c newline.c $(PRELUDES) revision.h
+ $(Q)$(CHDIR) $(srcdir) && $(exec) $(RM) configure tool/config.guess tool/config.sub gems/*.gem
realclean-ext:: PHONY
realclean-golf: distclean-golf
$(Q)$(RM) $(GOLFPRELUDES)