[前][次][番号順一覧][スレッド一覧]

ruby-changes:41381

From: usa <ko1@a...>
Date: Thu, 7 Jan 2016 21:28:19 +0900 (JST)
Subject: [ruby-changes:41381] usa:r53453 (trunk): * ext/ripper/depend: Just like BSDmake, nmake also recognize the rule of

usa	2016-01-07 21:28:32 +0900 (Thu, 07 Jan 2016)

  New Revision: 53453

  https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=53453

  Log:
    * 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.

  Modified files:
    trunk/ext/ripper/depend
Index: ext/ripper/depend
===================================================================
--- ext/ripper/depend	(revision 53452)
+++ ext/ripper/depend	(revision 53453)
@@ -2,7 +2,6 @@ GEN  = $(srcdir)/tools/generate.rb https://github.com/ruby/ruby/blob/trunk/ext/ripper/depend#L2
 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 $(t https://github.com/ruby/ruby/blob/trunk/ext/ripper/depend#L24
 	$(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 > $@

--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]