summaryrefslogtreecommitdiff
path: root/common.mk
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2018-06-08 10:42:48 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2018-06-08 10:42:48 +0000
commitdc1f272ee6299062391da0c36431d2a9423e7d3a (patch)
tree2065f87a170aabcd5299d84479c467d32c44f45c /common.mk
parent54a48b979cb2acda4bab8fbe040eb7d140452b08 (diff)
common.mk: dependency of node_name.inc
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63609 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
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 3cdea3d588..da9cab3c11 100644
--- a/common.mk
+++ b/common.mk
@@ -984,6 +984,9 @@ id.c: $(srcdir)/tool/generic_erb.rb $(srcdir)/template/id.c.tmpl $(srcdir)/defs/
$(Q) $(BASERUBY) $(srcdir)/tool/generic_erb.rb --output=$@ \
$(srcdir)/template/id.c.tmpl
+{$(VPATH)}node.h: $(srcdir)/tool/node_name.rb
+# This dependency is not really correct, but $? should not include
+# node_name.rb in the following recipe.
node_name.inc: {$(VPATH)}node.h
$(ECHO) generating $@
$(Q) $(BASERUBY) -n $(srcdir)/tool/node_name.rb < $? > $@