summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorusa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2016-01-07 12:28:32 +0000
committerusa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2016-01-07 12:28:32 +0000
commita1115a1b4758900790e9cb4f36a4dccf3e2149b8 (patch)
treeac2a5e68ddbdf397b24231674d6e2dd7497219d3
parent93bf5472587e08f4bfdfce008bde3f61fdf0ed51 (diff)
* ext/ripper/depend: Just like BSDmake, nmake also recognize the rule of
".eventids2.check" as inference one. but nmake is not cheated by macro. this fixes build failure introduced at r53448. see also the commit log of r53452. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53453 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r--ext/ripper/depend5
1 files changed, 2 insertions, 3 deletions
diff --git a/ext/ripper/depend b/ext/ripper/depend
index 77fb223f87..4dc74f05e1 100644
--- a/ext/ripper/depend
+++ b/ext/ripper/depend
@@ -2,7 +2,6 @@ GEN = $(srcdir)/tools/generate.rb
SRC1 = $(top_srcdir)/parse.y
SRC2 = $(srcdir)/eventids2.c
BISON = bison
-EVENTIDS2_CHECK = .eventids2.check
.SUFFIXES: .y
@@ -25,9 +24,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 > $@