From 0b8c7162330802d10a3ba47d692f445584041a26 Mon Sep 17 00:00:00 2001 From: nobu Date: Mon, 27 Jul 2015 03:42:12 +0000 Subject: common.mk: fix clean order * common.mk (clean, distclean): clean local files before platform directory, some files may exist there. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51399 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- common.mk | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'common.mk') diff --git a/common.mk b/common.mk index f43a544f67..9d663aa808 100644 --- a/common.mk +++ b/common.mk @@ -463,7 +463,7 @@ install-prereq: $(CLEAR_INSTALLED_LIST) yes-fake sudo-precheck PHONY clear-installed-list: PHONY @> $(INSTALLED_LIST) set MAKE="$(MAKE)" -clean: clean-ext clean-enc clean-golf clean-rdoc clean-capi clean-extout clean-platform clean-local +clean: clean-ext clean-enc clean-golf clean-rdoc clean-capi clean-extout clean-local clean-platform 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 @@ -485,7 +485,7 @@ clean-extout: PHONY -$(Q)$(RMDIR) $(EXTOUT)/$(arch) $(EXTOUT) 2> $(NULL) || exit 0 clean-docs: clean-rdoc clean-html clean-capi -distclean: distclean-ext distclean-enc distclean-golf distclean-extout distclean-platform distclean-local +distclean: distclean-ext distclean-enc distclean-golf distclean-extout distclean-local distclean-platform distclean-local:: clean-local $(Q)$(RM) $(MKFILES) yasmdata.rb *.inc $(arch)-fake.rb $(Q)$(RM) config.cache config.status config.status.lineno -- cgit v1.2.3