From 000c0792f14f891a4ec5e20936546d0c8d9e31e2 Mon Sep 17 00:00:00 2001 From: nobu Date: Thu, 22 Jan 2015 00:14:27 +0000 Subject: common.mk: reorder clean * common.mk (clean): clean local at last, and remove enc/trans. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49371 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- common.mk | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'common.mk') diff --git a/common.mk b/common.mk index efb586b2ab..c1341a74cb 100644 --- a/common.mk +++ b/common.mk @@ -461,12 +461,13 @@ install-prereq: $(CLEAR_INSTALLED_LIST) yes-fake sudo-precheck PHONY clear-installed-list: PHONY @> $(INSTALLED_LIST) set MAKE="$(MAKE)" -clean: clean-ext clean-local clean-enc clean-golf clean-rdoc clean-capi clean-extout clean-platform +clean: clean-ext clean-enc clean-golf clean-rdoc clean-capi clean-extout clean-platform clean-local clean-local:: clean-runnable $(Q)$(RM) $(OBJS) $(MINIOBJS) $(MAINOBJ) $(LIBRUBY_A) $(LIBRUBY_SO) $(LIBRUBY) $(LIBRUBY_ALIASES) $(Q)$(RM) $(PROGRAM) $(WPROGRAM) miniruby$(EXEEXT) dmyext.$(OBJEXT) dmyenc.$(OBJEXT) $(ARCHFILE) .*.time $(Q)$(RM) y.tab.c y.output encdb.h transdb.h config.log rbconfig.rb $(ruby_pc) probes.h probes.$(OBJEXT) probes.stamp ruby-glommed.$(OBJEXT) - $(Q)$(RM) GNUmakefile.old Makefile.old $(arch)-fake.rb + $(Q)$(RM) GNUmakefile.old Makefile.old $(arch)-fake.rb $(ENC_TRANS_D) + -$(Q) $(RMDIR) enc/trans enc 2> $(NULL) || exit 0 clean-runnable:: PHONY $(Q)$(CHDIR) bin 2>$(NULL) && $(RM) $(PROGRAM) $(WPROGRAM) $(GORUBY)$(EXEEXT) bin/*.$(DLEXT) 2>$(NULL) || exit 0 $(Q)$(CHDIR) lib 2>$(NULL) && $(RM) $(LIBRUBY_A) $(LIBRUBY) $(LIBRUBY_ALIASES) $(RUBY_BASE_NAME)/$(RUBY_PROGRAM_VERSION) $(RUBY_BASE_NAME)/vendor_ruby 2>$(NULL) || exit 0 @@ -482,12 +483,12 @@ clean-extout: PHONY -$(Q)$(RMDIR) $(EXTOUT)/$(arch) $(EXTOUT) 2> $(NULL) || exit 0 clean-docs: clean-rdoc clean-html clean-capi -distclean: distclean-ext distclean-local distclean-enc distclean-golf distclean-extout distclean-platform +distclean: distclean-ext distclean-enc distclean-golf distclean-extout distclean-platform distclean-local distclean-local:: clean-local $(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) - $(Q)$(RMALL) $(srcdir)/autom4te.cache + -$(Q)$(RMALL) $(srcdir)/autom4te.cache distclean-ext:: PHONY distclean-golf: clean-golf distclean-rdoc: PHONY -- cgit v1.2.3