fix ripper prereq
* common.mk (ext/ripper/ripper.c): fix VPATH when out-of-place build, and id.h was created in the build directory too. it has to include the build directory, i.e., the current directory before `cd`. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58494 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
acde55201b
commit
74a5dc5825
@ -961,10 +961,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) $(CHDIR) $(@D) && \
|
||||
$(Q) VPATH=$${PWD-`pwd`} && $(CHDIR) $(@D) && \
|
||||
sed /AUTOGENERATED/q depend | \
|
||||
$(exec) $(MAKE) -f - $(mflags) \
|
||||
Q=$(Q) ECHO=$(ECHO) RM="$(RM)" top_srcdir=../.. srcdir=. VPATH="$(PWD)" \
|
||||
Q=$(Q) ECHO=$(ECHO) RM="$(RM)" top_srcdir=../.. srcdir=. VPATH="$${VPATH}" \
|
||||
RUBY="$(BASERUBY)" PATH_SEPARATOR="$(PATH_SEPARATOR)"
|
||||
|
||||
$(srcdir)/ext/json/parser/parser.c: $(srcdir)/ext/json/parser/parser.rl
|
||||
|
Loading…
x
Reference in New Issue
Block a user