diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2018-12-17 01:36:34 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2018-12-17 01:36:34 +0000 |
commit | 6da6492d194cb403675701d65427b1ff1d6bdaeb (patch) | |
tree | cba1fe9923f72b4757deb8b433854d9c01cab86d /common.mk | |
parent | 89955d5460cc81ba0ac3aa7d90c8645fac57e4a5 (diff) |
Workaround for OpenBSD make
* common.mk: read from node.h in the source directly, without
VPATH. [ruby-core:89151] [Bug #15154]
From: kernigh (George Koehler) <xkernigh@netscape.net>
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66423 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'common.mk')
-rw-r--r-- | common.mk | 7 |
1 files changed, 2 insertions, 5 deletions
@@ -1023,12 +1023,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 +node_name.inc: $(srcdir)/tool/node_name.rb $(srcdir)/node.h $(ECHO) generating $@ - $(Q) $(BASERUBY) -n $(srcdir)/tool/node_name.rb < $? > $@ + $(Q) $(BASERUBY) -n $(srcdir)/tool/node_name.rb < $(srcdir)/node.h > $@ encdb.h: $(PREP) $(srcdir)/tool/generic_erb.rb $(srcdir)/template/encdb.h.tmpl $(ECHO) generating $@ |