diff options
author | naruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2016-01-07 07:11:33 +0000 |
---|---|---|
committer | naruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2016-01-07 07:11:33 +0000 |
commit | 1cade165b72e454f5689e04986f82f629bef24b0 (patch) | |
tree | 7f5e8f2b2ec55e7be79877e173502be4bf7537ec | |
parent | 3dbcf523c664aff35a87cb8c98c0473715fc0887 (diff) | |
download | ruby-1cade165b72e454f5689e04986f82f629bef24b0.tar.gz |
fix r53448
avoid mkmf.rb's suffix rule scanner (lib/mkmf.rb:2085), it detects
suffix rule from depend file and adds .SUFFIXES.
It breaks bsdmake to generate check file named ".eventids2.check".
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53452 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r-- | ext/ripper/depend | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/ext/ripper/depend b/ext/ripper/depend index 3aa7986a23..77fb223f87 100644 --- a/ext/ripper/depend +++ b/ext/ripper/depend @@ -2,6 +2,7 @@ GEN = $(srcdir)/tools/generate.rb SRC1 = $(top_srcdir)/parse.y SRC2 = $(srcdir)/eventids2.c BISON = bison +EVENTIDS2_CHECK = .eventids2.check .SUFFIXES: .y @@ -24,9 +25,9 @@ ripper.y: $(srcdir)/tools/preproc.rb $(top_srcdir)/parse.y $(Q) $(RUBY) $(srcdir)/tools/preproc.rb ripper.tmp.y --output=$@ $(Q) $(RM) ripper.tmp.y -check: .eventids2.check +check: $(EVENTIDS2_CHECK) -.eventids2.check: $(GEN) $(SRC1) $(SRC2) +$(EVENTIDS2_CHECK): $(GEN) $(SRC1) $(SRC2) $(ECHO) checking $(SRC1) and $(SRC2) $(Q) $(RUBY) $(GEN) --mode=check --ids1src=$(SRC1) --ids2src=$(SRC2) @exit > $@ |