ruby-changes:41410
From: nobu <ko1@a...>
Date: Sat, 9 Jan 2016 12:33:02 +0900 (JST)
Subject: [ruby-changes:41410] nobu:r53482 (trunk): nmake VPATH
nobu 2016-01-09 12:33:20 +0900 (Sat, 09 Jan 2016) New Revision: 53482 https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=53482 Log: nmake VPATH * ext/rbconfig/sizeof/depend (sizes.c): add nmake VPATH prefix. Modified files: trunk/common.mk trunk/ext/rbconfig/sizeof/depend Index: common.mk =================================================================== --- common.mk (revision 53481) +++ common.mk (revision 53482) @@ -887,7 +887,7 @@ $(srcdir)/ext/rbconfig/sizeof/sizes.c: $ https://github.com/ruby/ruby/blob/trunk/common.mk#L887 $(srcdir)/tool/generic_erb.rb $(srcdir)/template/sizes.c.tmpl $(srcdir)/configure.in $(ECHO) generating $@ $(Q) $(CHDIR) $(@D) && \ - sed /AUTOGENERATED/q depend | \ + sed '/AUTOGENERATED/q;s/{.*}//' depend | \ $(exec) $(MAKE) -f - $(MFLAGS) \ Q=$(Q) ECHO=$(ECHO) top_srcdir=../../.. srcdir=. VPATH=../../.. RUBY="$(BASERUBY)" Index: ext/rbconfig/sizeof/depend =================================================================== --- ext/rbconfig/sizeof/depend (revision 53481) +++ ext/rbconfig/sizeof/depend (revision 53482) @@ -1,4 +1,7 @@ https://github.com/ruby/ruby/blob/trunk/ext/rbconfig/sizeof/depend#L1 -sizes.c: $(top_srcdir)/tool/generic_erb.rb $(top_srcdir)/template/sizes.c.tmpl $(top_srcdir)/configure.in $(top_srcdir)/ext/rbconfig/sizeof/extconf.rb +{$(VPATH)}sizes.c: $(top_srcdir)/tool/generic_erb.rb \ + $(top_srcdir)/template/sizes.c.tmpl \ + $(top_srcdir)/configure.in \ + $(top_srcdir)/ext/rbconfig/sizeof/extconf.rb $(Q) $(RUBY) $(top_srcdir)/tool/generic_erb.rb --output=$@ \ $(top_srcdir)/template/sizes.c.tmpl \ $(top_srcdir)/configure.in \ -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/