summaryrefslogtreecommitdiff
path: root/ext/ripper
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2016-01-07 03:06:58 (GMT)
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2016-01-07 03:06:58 (GMT)
commitb032d111abc06e166b890f9f4d2a757af80116fd (patch)
tree7c636bec87ee1ba3cd3ce243f09be85fa1527870 /ext/ripper
parent9a0b64fda09dd86a5f314c7b6ec8d0f79c473250 (diff)
mkmf.rb: library installation messages
* lib/mkmf.rb (configuration, dummy_makefile, create_makefile): show library installation messages only when any files need to be updated. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53448 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext/ripper')
-rw-r--r--ext/ripper/depend5
1 files changed, 4 insertions, 1 deletions
diff --git a/ext/ripper/depend b/ext/ripper/depend
index 64236cd..3aa7986 100644
--- a/ext/ripper/depend
+++ b/ext/ripper/depend
@@ -24,9 +24,12 @@ 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: $(GEN) $(SRC1) $(SRC2)
+check: .eventids2.check
+
+.eventids2.check: $(GEN) $(SRC1) $(SRC2)
$(ECHO) checking $(SRC1) and $(SRC2)
$(Q) $(RUBY) $(GEN) --mode=check --ids1src=$(SRC1) --ids2src=$(SRC2)
+ @exit > $@
eventids1.c: $(srcdir)/tools/generate.rb $(SRC1)
$(ECHO) generating $@ from $(SRC1)