mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
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
This commit is contained in:
parent
84d9d4857e
commit
93bf547258
1 changed files with 3 additions and 2 deletions
|
@ -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 > $@
|
||||
|
|
Loading…
Reference in a new issue