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

ruby-changes:36455

From: nobu <ko1@a...>
Date: Sat, 22 Nov 2014 16:10:36 +0900 (JST)
Subject: [ruby-changes:36455] nobu:r48536 (trunk): common.mk: keep verconf.h if unchanged

nobu	2014-11-22 16:10:20 +0900 (Sat, 22 Nov 2014)

  New Revision: 48536

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

  Log:
    common.mk: keep verconf.h if unchanged
    
    * common.mk (verconf.h): update only when changed to reduce
      unnecessary recompiling loadpath.c.

  Modified files:
    trunk/common.mk
Index: common.mk
===================================================================
--- common.mk	(revision 48535)
+++ common.mk	(revision 48536)
@@ -680,7 +680,7 @@ newline.$(OBJEXT): $(NEWLINE_C) https://github.com/ruby/ruby/blob/trunk/common.mk#L680
 
 verconf.h: $(srcdir)/template/verconf.h.tmpl $(srcdir)/tool/generic_erb.rb $(RBCONFIG)
 	$(ECHO) creating $@
-	$(Q) $(MINIRUBY) "$(srcdir)/tool/generic_erb.rb" $(srcdir)/template/verconf.h.tmpl > $@
+	$(Q) $(MINIRUBY) "$(srcdir)/tool/generic_erb.rb" -c -o $@ $(srcdir)/template/verconf.h.tmpl
 
 DTRACE_DEPENDENT_OBJS = array.$(OBJEXT) \
 		eval.$(OBJEXT) \

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

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