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

ruby-changes:65884

From: Nobuyoshi <ko1@a...>
Date: Sun, 18 Apr 2021 13:49:10 +0900 (JST)
Subject: [ruby-changes:65884] 6943ffc3d5 (master): Split revision.h rule

https://git.ruby-lang.org/ruby.git/commit/?id=6943ffc3d5

From 6943ffc3d55d17160183f955bc6247a79885a34b Mon Sep 17 00:00:00 2001
From: Nobuyoshi Nakada <nobu@r...>
Date: Sun, 18 Apr 2021 13:47:43 +0900
Subject: Split revision.h rule

GNU-make specific rule is defined in defs/gmake.mk.
---
 common.mk | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/common.mk b/common.mk
index 5741745..f3aa284 100644
--- a/common.mk
+++ b/common.mk
@@ -1151,8 +1151,9 @@ builtin_binary.inc: $(PREP) $(BUILTIN_RB_SRCS) $(srcdir)/template/builtin_binary https://github.com/ruby/ruby/blob/trunk/common.mk#L1151
 $(BUILTIN_RB_INCS): $(top_srcdir)/tool/mk_builtin_loader.rb
 
 $(srcdir)/revision.h:
-	$(Q)$(gnumake:yes=#) $(RM) $(@F)
-	$(Q)$(gnumake:yes=#) $(NULLCMD) > $@ || $(NULLCMD) > $(@F)
+$(srcdir)/revision.h$(gnumake:yes=-nongnumake):
+	$(Q)$(RM) $(@F)
+	$(Q)$(NULLCMD) > $@ || $(NULLCMD) > $(@F)
 
 revision.tmp::
 	$(Q) $(NULLCMD) > $@
-- 
cgit v1.1


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

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