1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

Split revision.h rule

GNU-make specific rule is defined in defs/gmake.mk.
This commit is contained in:
Nobuyoshi Nakada 2021-04-18 13:47:43 +09:00
parent 1f56238032
commit 6943ffc3d5
No known key found for this signature in database
GPG key ID: 7CD2805BFA3770C6

View file

@ -1151,8 +1151,9 @@ builtin_binary.inc: $(PREP) $(BUILTIN_RB_SRCS) $(srcdir)/template/builtin_binary
$(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) > $@