aboutsummaryrefslogtreecommitdiffstats
path: root/ext/ripper
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2016-01-07 03:06:58 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2016-01-07 03:06:58 +0000
commit442eac3f349396c4c977579b519b420af207a831 (patch)
tree7c636bec87ee1ba3cd3ce243f09be85fa1527870 /ext/ripper
parentee9be9a9762ffb32b98ab5bf2f32f6a46ea558ae (diff)
downloadruby-442eac3f349396c4c977579b519b420af207a831.tar.gz
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 64236cd592..3aa7986a23 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)