summaryrefslogtreecommitdiff
path: root/template
diff options
context:
space:
mode:
authorNobuyoshi Nakada <nobu@ruby-lang.org>2023-01-13 17:36:38 +0900
committerNobuyoshi Nakada <nobu@ruby-lang.org>2023-01-14 20:30:19 +0900
commit1ddeb7473d231fa68bd972442937e9fb5c994cb5 (patch)
treed898a21bdb620ddf813c3bb48c150ad7a94ac362 /template
parent5b26f76ad9a4305f889ddb267c38a39a74ce62de (diff)
downloadruby-1ddeb7473d231fa68bd972442937e9fb5c994cb5.tar.gz
Move the dependency of makefiles on revision header [ci skip]
Since `REVISION_H` is defined in common.mk which is appended or included after Makefile.in, it was undefined yet at the point of the dependency.
Diffstat (limited to 'template')
-rw-r--r--template/Makefile.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/template/Makefile.in b/template/Makefile.in
index 145631386d..c68f2942ee 100644
--- a/template/Makefile.in
+++ b/template/Makefile.in
@@ -384,7 +384,7 @@ install-cross: $(arch)-fake.rb $(RBCONFIG) rbconfig.rb $(arch_hdrdir)/ruby/confi
Makefile: $(srcdir)/template/Makefile.in $(srcdir)/enc/Makefile.in
-$(MKFILES): config.status $(srcdir)/version.h $(REVISION_H) $(ABI_VERSION_HDR)
+$(MKFILES): config.status $(srcdir)/version.h $(ABI_VERSION_HDR)
@[ -f $@ ] && mv $@ $@.old
MAKE=$(MAKE) $(SHELL) ./config.status $@
@cmp $@ $@.old > /dev/null 2>&1 && echo $@ unchanged && exit 0; \