diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2017-03-01 07:53:15 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2017-03-01 07:53:15 +0000 |
commit | 3cef10489ae2e61ef0a14d9b676d0242e4640ccd (patch) | |
tree | 3d1fc05f7ecb3549a6eb44a8deda5589c94915ed /common.mk | |
parent | 9da188550ca78525de507442aad1436eb636b3d7 (diff) |
common.mk: separate clean-ext
* common.mk (clean-ext): separate clean-up of makefiles and
timestamps, and clean-up of subdirectories under ext and gems.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57748 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'common.mk')
-rw-r--r-- | common.mk | 23 |
1 files changed, 21 insertions, 2 deletions
@@ -568,11 +568,30 @@ realclean-extout: distclean-extout realclean-platform: distclean-platform realclean-rubyspec: distclean-rubyspec -clean-ext distclean-ext realclean-ext:: - $(Q)$(RM) $(EXTS_MK) +clean-ext:: ext/clean gems/clean timestamp/clean +distclean-ext:: ext/distclean gems/distclean timestamp/distclean +realclean-ext:: ext/realclean gems/realclean timestamp/realclean + +ext/clean.mk ext/distclean.mk ext/realclean.mk:: +ext/clean gems/clean:: ext/clean.mk +ext/distclean gems/distclean:: ext/distclean.mk +ext/realclean gems/realclean:: ext/realclean.mk + +timestamp/clean:: ext/clean gems/clean +timestamp/distclean:: ext/distclean gems/distclean +timestamp/realclean:: ext/realclean gems/realclean + +timestamp/clean timestamp/distclean timestamp/realclean:: $(Q)$(RM) $(TIMESTAMPDIR)/.*.time $(TIMESTAMPDIR)/.$(arch).time $(TIMESTAMPDIR)/$(arch)/.time $(Q)$(RMDIRS) $(TIMESTAMPDIR)/$(arch) 2> $(NULL) || exit 0 +clean-ext:: + -$(Q)$(RM) ext/extinit.$(OBJEXT) + +distclean-ext realclean-ext:: + -$(Q)$(RM) $(EXTS_MK) ext/extinit.* ext/configure-ext.mk + -$(Q)$(RMDIR) ext 2> $(NULL) || exit 0 + clean-enc distclean-enc realclean-enc: PHONY clean-enc: clean-enc.d |