ruby-changes:46484
From: nobu <ko1@a...>
Date: Sun, 7 May 2017 23:21:15 +0900 (JST)
Subject: [ruby-changes:46484] nobu:r58603 (trunk): relative path as VPATH
nobu 2017-05-07 23:21:10 +0900 (Sun, 07 May 2017) New Revision: 58603 https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=58603 Log: relative path as VPATH * common.mk (ripper.c): use relative path as VPATH instead of absolute path of the current working directory. Modified files: trunk/common.mk Index: common.mk =================================================================== --- common.mk (revision 58602) +++ common.mk (revision 58603) @@ -960,10 +960,10 @@ $(REVISION_H): $(srcdir)/version.h $(src https://github.com/ruby/ruby/blob/trunk/common.mk#L960 $(srcdir)/ext/ripper/ripper.c: $(srcdir)/parse.y id.h $(ECHO) generating $@ - $(Q) VPATH=$${PWD-`pwd`} && $(CHDIR) $(@D) && \ + $(Q) $(CHDIR) $(@D) && \ sed /AUTOGENERATED/q depend | \ $(exec) $(MAKE) -f - $(mflags) \ - Q=$(Q) ECHO=$(ECHO) RM="$(RM)" top_srcdir=../.. srcdir=. VPATH="$${VPATH}" \ + Q=$(Q) ECHO=$(ECHO) RM="$(RM)" top_srcdir=../.. srcdir=. VPATH=../.. \ RUBY="$(BASERUBY)" PATH_SEPARATOR="$(PATH_SEPARATOR)" $(srcdir)/ext/json/parser/parser.c: $(srcdir)/ext/json/parser/parser.rl -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/