From 6fd71da0678644e8c0886d3d1ec41cb556fb6d4f Mon Sep 17 00:00:00 2001 From: nobu Date: Mon, 27 Feb 2017 13:22:05 +0000 Subject: common.mk (distclean): clean docs too git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57731 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- common.mk | 18 ++++++++++++------ 1 file changed, 12 insertions(+), 6 deletions(-) (limited to 'common.mk') diff --git a/common.mk b/common.mk index 891d1d203e..2cbe3591d4 100644 --- a/common.mk +++ b/common.mk @@ -511,7 +511,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-local clean-platform clean-rubyspec +clean: clean-ext clean-enc clean-golf clean-docs clean-extout clean-local clean-platform clean-rubyspec 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 @@ -534,7 +534,7 @@ clean-extout: PHONY clean-docs: clean-rdoc clean-html clean-capi clean-rubyspec: PHONY -distclean: distclean-ext distclean-enc distclean-golf distclean-extout distclean-local distclean-platform distclean-rubyspec +distclean: distclean-ext distclean-enc distclean-golf distclean-docs distclean-extout distclean-local distclean-platform distclean-rubyspec distclean-local:: clean-local $(Q)$(RM) $(MKFILES) yasmdata.rb *.inc $(PRELUDES) $(Q)$(RM) config.cache config.status config.status.lineno @@ -542,9 +542,10 @@ distclean-local:: clean-local -$(Q)$(RMALL) $(srcdir)/autom4te.cache distclean-ext:: PHONY distclean-golf: clean-golf -distclean-rdoc: PHONY -distclean-html: PHONY -distclean-capi: PHONY +distclean-rdoc: clean-rdoc +distclean-html: clean-html +distclean-capi: clean-capi +distclean-docs: clean-docs distclean-extout: clean-extout distclean-platform: clean-platform distclean-rubyspec: clean-rubyspec @@ -559,8 +560,13 @@ realclean-local:: distclean-local realclean-ext:: PHONY realclean-golf: distclean-golf $(Q)$(RM) $(GOLFPRELUDES) -realclean-capi: PHONY +realclean-rdoc: distclean-rdoc +realclean-html: distclean-html +realclean-capi: distclean-capi +realclean-docs: distclean-docs realclean-extout: distclean-extout +realclean-platform: distclean-platform +realclean-rubyspec: distclean-rubyspec clean-ext distclean-ext realclean-ext:: $(Q)$(RM) $(EXTS_MK) -- cgit v1.2.3