ruby-changes:41380
From: naruse <ko1@a...>
Date: Thu, 7 Jan 2016 16:11:21 +0900 (JST)
Subject: [ruby-changes:41380] naruse:r53452 (trunk): fix r53448
naruse 2016-01-07 16:11:33 +0900 (Thu, 07 Jan 2016) New Revision: 53452 https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=53452 Log: 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". Modified files: trunk/ext/ripper/depend Index: ext/ripper/depend =================================================================== --- ext/ripper/depend (revision 53451) +++ ext/ripper/depend (revision 53452) @@ -2,6 +2,7 @@ GEN = $(srcdir)/tools/generate.rb https://github.com/ruby/ruby/blob/trunk/ext/ripper/depend#L2 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 $(t https://github.com/ruby/ruby/blob/trunk/ext/ripper/depend#L25 $(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 > $@ -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/