[前][次][番号順一覧][スレッド一覧]

ruby-changes:45655

From: nobu <ko1@a...>
Date: Mon, 27 Feb 2017 16:54:29 +0900 (JST)
Subject: [ruby-changes:45655] nobu:r57728 (trunk): common.mk: clean-rubyspec

nobu	2017-02-27 16:54:24 +0900 (Mon, 27 Feb 2017)

  New Revision: 57728

  https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=57728

  Log:
    common.mk: clean-rubyspec
    
    * common.mk (clean-rubyspec): remove OBJDIR for rubyspec C-API
      tests.

  Modified files:
    trunk/common.mk
Index: common.mk
===================================================================
--- common.mk	(revision 57727)
+++ common.mk	(revision 57728)
@@ -511,7 +511,7 @@ install-prereq: $(CLEAR_INSTALLED_LIST) https://github.com/ruby/ruby/blob/trunk/common.mk#L511
 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 https://github.com/ruby/ruby/blob/trunk/common.mk#L532
 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 https://github.com/ruby/ruby/blob/trunk/common.mk#L547
 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: https://github.com/ruby/ruby/blob/trunk/common.mk#L591
 	$(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

--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]