diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2018-01-17 11:12:31 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2018-01-17 11:12:31 +0000 |
commit | 1d281ba6de6432917f317e4ab762cb3f70c4dbf3 (patch) | |
tree | bc470fd5dd75e06df0f3371517badb97a300aa04 /common.mk | |
parent | d52c977f299127a497b70c95fc6bfd0b417eb984 (diff) | |
download | ruby-1d281ba6de6432917f317e4ab762cb3f70c4dbf3.tar.gz |
common.mk: ripper.c recipe
* common.mk (ripper.c): strip nmake-style VPATH from depend file,
as well as mkmf.rb does.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61886 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'common.mk')
-rw-r--r-- | common.mk | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -986,7 +986,7 @@ $(REVISION_H): $(srcdir)/version.h $(srcdir)/tool/file2lastrev.rb $(REVISION_FOR $(srcdir)/ext/ripper/ripper.c: $(srcdir)/ext/ripper/tools/preproc.rb $(srcdir)/parse.y id.h $(ECHO) generating $@ $(Q) VPATH=$${PWD-`pwd`} && $(CHDIR) $(@D) && \ - sed /AUTOGENERATED/q depend | \ + sed -e 's/{\$$([^(){}]*)[^{}]*}//g' -e /AUTOGENERATED/q depend | \ $(exec) $(MAKE) -f - $(mflags) \ Q=$(Q) ECHO=$(ECHO) RM="$(RM)" top_srcdir=../.. srcdir=. VPATH="$${VPATH}" \ RUBY="$(BASERUBY)" PATH_SEPARATOR="$(PATH_SEPARATOR)" |