summaryrefslogtreecommitdiff
path: root/defs/gmake.mk
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2018-11-29 07:07:40 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2018-11-29 07:07:40 +0000
commit1a6ae0a99fbb8e95dacbbcbc76ee360df04c7566 (patch)
tree61a9373387fdc011f21d35d8d7e1d05e4e9219ae /defs/gmake.mk
parent16d6a91a5d54ed8bb13a6ae02edabb00a5e98142 (diff)
downloadruby-1a6ae0a99fbb8e95dacbbcbc76ee360df04c7566.tar.gz
Always try to update revision.h with GNU make
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66089 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'defs/gmake.mk')
-rw-r--r--defs/gmake.mk4
1 files changed, 4 insertions, 0 deletions
diff --git a/defs/gmake.mk b/defs/gmake.mk
index a4acb679f9..49934c5f01 100644
--- a/defs/gmake.mk
+++ b/defs/gmake.mk
@@ -185,6 +185,10 @@ $(MJIT_MIN_HEADER): $(mjit_min_headers) $(PREP)
endif
+# GNU make treat the target as unmodified when its dependents get
+# updated but it is not updated, while others may not.
+$(srcdir)/revision.h: $(REVISION_H)
+
# Query on the generated rdoc
#
# $ make rdoc:Integer#+