ruby-changes:49762
From: nobu <ko1@a...>
Date: Wed, 17 Jan 2018 13:25:46 +0900 (JST)
Subject: [ruby-changes:49762] nobu:r61880 (trunk): ripper.c: depends on preproc.rb
nobu 2018-01-17 13:25:39 +0900 (Wed, 17 Jan 2018) New Revision: 61880 https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=61880 Log: ripper.c: depends on preproc.rb Modified files: trunk/common.mk trunk/ext/ripper/depend Index: ext/ripper/depend =================================================================== --- ext/ripper/depend (revision 61879) +++ ext/ripper/depend (revision 61880) @@ -18,7 +18,7 @@ ripper.o: ripper.c https://github.com/ruby/ruby/blob/trunk/ext/ripper/depend#L18 all: check static: check -ripper.y: $(srcdir)/tools/preproc.rb $(top_srcdir)/parse.y +ripper.y: $(srcdir)/tools/preproc.rb $(top_srcdir)/parse.y $(top_srcdir)/id.h $(ECHO) extracting $@ from $(top_srcdir)/parse.y $(Q) $(RUBY) $(top_srcdir)/tool/id2token.rb --path-separator=.$(PATH_SEPARATOR)./ \ --vpath=$(VPATH)$(PATH_SEPARATOR)$(top_srcdir) id.h $(top_srcdir)/parse.y > ripper.tmp.y Index: common.mk =================================================================== --- common.mk (revision 61879) +++ common.mk (revision 61880) @@ -983,7 +983,7 @@ $(REVISION_H): $(srcdir)/version.h $(src https://github.com/ruby/ruby/blob/trunk/common.mk#L983 -$(Q) $(BASERUBY) $(srcdir)/tool/file2lastrev.rb -q --revision.h "$(srcdir)" > revision.tmp $(Q)$(IFCHANGE) "--timestamp=$@" "$(srcdir)/revision.h" revision.tmp -$(srcdir)/ext/ripper/ripper.c: $(srcdir)/parse.y id.h +$(srcdir)/ext/ripper/ripper.c: $(srcdir)/ext/ripper/tools/preproc.rb $(srcdir)/parse.y id.h $(ECHO) generating $@ $(Q) VPATH=$${PWD-`pwd`} && $(CHDIR) $(@D) && \ sed /AUTOGENERATED/q depend | \ -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/