summaryrefslogtreecommitdiff
path: root/common.mk
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2014-11-21 00:10:25 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2014-11-21 00:10:25 +0000
commit72de767e9b60b301cfa0648def20a5251ed9a82a (patch)
tree4c5fe8cbc0d1dc33572e1a0fb71973f2c2a3d01a /common.mk
parentc2bd5491f2b5ec77a527ad6095c4d8e28d06b29b (diff)
common.mk: fix dependencies
* common.mk (ext/ripper/ripper.c): fix dependencies for the case to make ripper.y and id.h under the build directory. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48523 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'common.mk')
-rw-r--r--common.mk3
1 files changed, 2 insertions, 1 deletions
diff --git a/common.mk b/common.mk
index ca14185..17838fd 100644
--- a/common.mk
+++ b/common.mk
@@ -808,7 +808,8 @@ $(REVISION_H): $(srcdir)/version.h $(srcdir)/ChangeLog $(srcdir)/tool/file2lastr
$(srcdir)/ext/ripper/ripper.c: parse.y id.h
$(ECHO) generating $@
$(Q) $(CHDIR) $(@D) && $(exec) $(MAKE) -f depend $(MFLAGS) \
- Q=$(Q) ECHO=$(ECHO) top_srcdir=../.. srcdir=. VPATH="$(PWD)" RM="$(RM)"\
+ Q=$(Q) ECHO=$(ECHO) RM="$(RM)" VPATH=../.. \
+ top_srcdir=../../$(srcdir) srcdir=../../$(srcdir)/ext/ripper \
RUBY="$(BASERUBY)" PATH_SEPARATOR="$(PATH_SEPARATOR)"
$(srcdir)/ext/rbconfig/sizeof/sizes.c: $(srcdir)/ext/rbconfig/sizeof/depend \