aboutsummaryrefslogtreecommitdiffstats
path: root/ext/ripper
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
commitc4e2d30fbfadda4087b5168099b4602ae806c667 (patch)
treeac2a5e68ddbdf397b24231674d6e2dd7497219d3 /ext/ripper
parent1cade165b72e454f5689e04986f82f629bef24b0 (diff)
downloadruby-c4e2d30fbfadda4087b5168099b4602ae806c667.tar.gz
* 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
Diffstat (limited to 'ext/ripper')
-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 > $@