summaryrefslogtreecommitdiff
path: root/common.mk
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 /common.mk
parent5b26f76ad9a4305f889ddb267c38a39a74ce62de (diff)
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 'common.mk')
-rw-r--r--common.mk3
1 files changed, 3 insertions, 0 deletions
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) && \