mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
relative path as VPATH
* common.mk (ripper.c): use relative path as VPATH instead of absolute path of the current working directory. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58603 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
ac08e59b02
commit
7dae53f371
1 changed files with 2 additions and 2 deletions
|
@ -960,10 +960,10 @@ $(REVISION_H): $(srcdir)/version.h $(srcdir)/tool/file2lastrev.rb $(REVISION_FOR
|
|||
|
||||
$(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
|
||||
|
|
Loading…
Reference in a new issue