diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2014-11-19 15:19:33 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2014-11-19 15:19:33 +0000 |
commit | 3a2d2af0f713c32b51b5b4a31f53829ff4ba8574 (patch) | |
tree | d95ddc0cf9c6a4f30d3c92a6ce2b5dbbacc8bb0d /ext | |
parent | 5a7b14b50ba1d08a52cb807301ae63467715fca3 (diff) |
common.mk: fix build error
* common.mk (ext/ripper/ripper.c): VPATH is always ../.. from
ext/ripper.
* ext/ripper/depend (.y.c): VPATH is not needed for an
intermediate file.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48499 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext')
-rw-r--r-- | ext/ripper/depend | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/ripper/depend b/ext/ripper/depend index 0e0c757233..2764389b5b 100644 --- a/ext/ripper/depend +++ b/ext/ripper/depend @@ -12,7 +12,7 @@ ripper.o: ripper.c .y.c: $(ECHO) compiling compiler $< $(Q) $(BISON) -t -v -oy.tab.c $< - $(Q) sed -f $(top_srcdir)/tool/ytab.sed -e "/^#/s!y\.tab\.c!$@!" $(VPATH)/y.tab.c > $@ + $(Q) sed -f $(top_srcdir)/tool/ytab.sed -e "/^#/s!y\.tab\.c!$@!" y.tab.c > $@ @$(RM) y.tab.c all: check |