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. --- common.mk | 3 +++ 1 file changed, 3 insertions(+) (limited to 'common.mk') diff --git a/common.mk b/common.mk index 3211a02fee..b656767cf6 100644 --- a/common.mk +++ b/common.mk @@ -1225,6 +1225,9 @@ $(REVISION_H)$(no_baseruby:no=~disabled~): $(REVISION_H)$(yes_baseruby:yes=~disabled~): $(Q) exit > $@ +uncommon.mk: $(REVISION_H) +$(MKFILES): $(REVISION_H) + $(srcdir)/ext/ripper/ripper.c: $(srcdir)/ext/ripper/tools/preproc.rb $(srcdir)/parse.y $(srcdir)/defs/id.def $(srcdir)/ext/ripper/depend $(ECHO) generating $@ $(Q) $(CHDIR) $(@D) && \ -- cgit v1.2.3