ruby-changes:49768
From: nobu <ko1@a...>
Date: Wed, 17 Jan 2018 20:12:36 +0900 (JST)
Subject: [ruby-changes:49768] nobu:r61886 (trunk): common.mk: ripper.c recipe
nobu 2018-01-17 20:12:31 +0900 (Wed, 17 Jan 2018) New Revision: 61886 https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=61886 Log: common.mk: ripper.c recipe * common.mk (ripper.c): strip nmake-style VPATH from depend file, as well as mkmf.rb does. Modified files: trunk/common.mk Index: common.mk =================================================================== --- common.mk (revision 61885) +++ common.mk (revision 61886) @@ -986,7 +986,7 @@ $(REVISION_H): $(srcdir)/version.h $(src https://github.com/ruby/ruby/blob/trunk/common.mk#L986 $(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)" -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/