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

ruby-changes:59736

From: Nobuyoshi <ko1@a...>
Date: Sat, 18 Jan 2020 16:48:25 +0900 (JST)
Subject: [ruby-changes:59736] 93a51c15d9 (master): Update clean-local [ci skip]

https://git.ruby-lang.org/ruby.git/commit/?id=93a51c15d9

From 93a51c15d95b93bae428540966c73feebc9f5d4b Mon Sep 17 00:00:00 2001
From: Nobuyoshi Nakada <nobu@r...>
Date: Sat, 18 Jan 2020 16:45:31 +0900
Subject: Update clean-local [ci skip]

* Remove builtin_binary.inc which is generated for each time
  miniruby is built.

* dSYM is a directory, not a file.

diff --git a/common.mk b/common.mk
index 8103d8e..4cb305f 100644
--- a/common.mk
+++ b/common.mk
@@ -595,7 +595,7 @@ clean-local:: clean-runnable https://github.com/ruby/ruby/blob/trunk/common.mk#L595
 	$(Q)$(RM) $(PROGRAM) $(WPROGRAM) miniruby$(EXEEXT) dmyext.$(OBJEXT) dmyenc.$(OBJEXT) $(ARCHFILE) .*.time
 	$(Q)$(RM) y.tab.c y.output encdb.h transdb.h config.log rbconfig.rb $(ruby_pc) $(COROUTINE_H:/Context.h=/.time)
 	$(Q)$(RM) probes.h probes.$(OBJEXT) probes.stamp ruby-glommed.$(OBJEXT) ruby.imp ChangeLog
-	$(Q)$(RM) GNUmakefile.old Makefile.old $(arch)-fake.rb bisect.sh $(ENC_TRANS_D)
+	$(Q)$(RM) GNUmakefile.old Makefile.old $(arch)-fake.rb bisect.sh $(ENC_TRANS_D) builtin_binary.inc
 	-$(Q) $(RMDIR) enc/jis enc/trans enc $(COROUTINE_H:/Context.h=) coroutine 2> $(NULL) || $(NULLCMD)
 
 bin/clean-runnable:: PHONY
diff --git a/template/Makefile.in b/template/Makefile.in
index 3845f02..50ea282 100644
--- a/template/Makefile.in
+++ b/template/Makefile.in
@@ -474,9 +474,9 @@ clean-local:: https://github.com/ruby/ruby/blob/trunk/template/Makefile.in#L474
 	$(Q)$(RM) \
 	  ext/extinit.c ext/extinit.$(OBJEXT) ext/ripper/y.output \
 	  enc/encinit.c enc/encinit.$(OBJEXT) $(pkgconfig_DATA) \
-	  ruby-runner.$(OBJEXT) ruby-runner.h *.dSYM \
+	  ruby-runner.$(OBJEXT) ruby-runner.h \
 	|| $(NULLCMD)
-	-$(Q)$(RMALL) exe/
+	-$(Q)$(RMALL) exe/ *.dSYM
 
 distclean-local::
 	$(Q)$(RM) \
-- 
cgit v0.10.2


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

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