From 1ddeb7473d231fa68bd972442937e9fb5c994cb5 Mon Sep 17 00:00:00 2001 From: Nobuyoshi Nakada Date: Fri, 13 Jan 2023 17:36:38 +0900 Subject: 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. --- template/Makefile.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'template') 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; \ -- cgit v1.2.1