aboutsummaryrefslogtreecommitdiffstats
path: root/template
diff options
context:
space:
mode:
authorNobuyoshi Nakada <nobu@ruby-lang.org>2022-11-02 11:33:08 +0900
committerNobuyoshi Nakada <nobu@ruby-lang.org>2022-11-02 11:33:08 +0900
commit60f12c7d2e37ebb57193612421ab66d6368eff6e (patch)
tree9ccaa26251551e69263c90787d35e9623c75f801 /template
parent265a96b005748beb1dea9a3de67ae35f96374c97 (diff)
downloadruby-60f12c7d2e37ebb57193612421ab66d6368eff6e.tar.gz
Fix infinite loop when out-of-place build
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 9b3f785217..666a9773d8 100644
--- a/template/Makefile.in
+++ b/template/Makefile.in
@@ -381,7 +381,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 $(srcdir)/revision.h $(ABI_VERSION_HDR)
+$(MKFILES): config.status $(srcdir)/version.h $(REVISION_H) $(ABI_VERSION_HDR)
@[ -f $@ ] && mv $@ $@.old
MAKE=$(MAKE) $(SHELL) ./config.status $@
@cmp $@ $@.old > /dev/null 2>&1 && echo $@ unchanged && exit 0; \