From 062f0eddc75495cc281dc5919e07b503e9931977 Mon Sep 17 00:00:00 2001 From: nobu Date: Tue, 2 Dec 2014 06:29:52 +0000 Subject: [PATCH] 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 --- common.mk | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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)