diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2017-02-27 07:54:24 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2017-02-27 07:54:24 +0000 |
commit | d7921849c0785ea5ee8466cfb774975c02b56686 (patch) | |
tree | ad54ad89bbc440949d899eb4a6b4b91fe5c588fa /common.mk | |
parent | 7d4cdab8f8c7e1f3f7e5c2add712659057f643fc (diff) | |
download | ruby-d7921849c0785ea5ee8466cfb774975c02b56686.tar.gz |
common.mk: clean-rubyspec
* common.mk (clean-rubyspec): remove OBJDIR for rubyspec C-API
tests.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57728 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'common.mk')
-rw-r--r-- | common.mk | 11 |
1 files changed, 9 insertions, 2 deletions
@@ -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: clean-ext clean-enc clean-golf clean-rdoc clean-capi 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 @@ -532,8 +532,9 @@ clean-platform: PHONY clean-extout: PHONY -$(Q)$(RMDIR) $(EXTOUT)/$(arch) $(EXTOUT) 2> $(NULL) || exit 0 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: distclean-ext distclean-enc distclean-golf 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 @@ -546,6 +547,7 @@ distclean-html: PHONY distclean-capi: PHONY distclean-extout: clean-extout distclean-platform: clean-platform +distclean-rubyspec: clean-rubyspec realclean:: realclean-ext realclean-local realclean-enc realclean-golf realclean-extout realclean-local:: distclean-local @@ -589,6 +591,11 @@ clean-platform: $(Q) $(RM) $(PLATFORM_D) -$(Q) $(RMDIR) $(PLATFORM_DIR) 2> $(NULL) || exit 0 +RUBYSPEC_CAPIEXT = spec/rubyspec/optional/capi/ext +clean-rubyspec: PHONY + $(Q) $(RM) $(RUBYSPEC_CAPIEXT)/*.$(OBJEXT) $(RUBYSPEC_CAPIEXT)/*.$(DLEXT) + -$(Q) $(RMDIRS) $(RUBYSPEC_CAPIEXT) + check: main test test-testframework test-almost $(ECHO) check succeeded check-ruby: test test-ruby |