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

ruby-changes:46301

From: nobu <ko1@a...>
Date: Thu, 20 Apr 2017 17:31:25 +0900 (JST)
Subject: [ruby-changes:46301] nobu:r58414 (trunk): common.mk: separate note

nobu	2017-04-20 17:31:20 +0900 (Thu, 20 Apr 2017)

  New Revision: 58414

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

  Log:
    common.mk: separate note
    
    * common.mk (build-ext): separate note from building extensions,
      not to be intermingled.  [ruby-core:80759] [Feature #13302]

  Modified files:
    trunk/common.mk
    trunk/template/exts.mk.tmpl
Index: template/exts.mk.tmpl
===================================================================
--- template/exts.mk.tmpl	(revision 58413)
+++ template/exts.mk.tmpl	(revision 58414)
@@ -46,7 +46,7 @@ Dir.glob("{ext,gems}/*/exts.mk") do |e| https://github.com/ruby/ruby/blob/trunk/template/exts.mk.tmpl#L46
               (?:dist|real)?clean
              ):.+$
            "x) do
-    deps << $&
+    deps << $&.sub(/ +note$/, '')
   end
   s.scan(%r"^note:\n((?:\t.+\n)+)") do |(n)|
     n = n.split(/^/)
Index: common.mk
===================================================================
--- common.mk	(revision 58413)
+++ common.mk	(revision 58414)
@@ -235,6 +235,7 @@ configure-ext: $(EXTS_MK) https://github.com/ruby/ruby/blob/trunk/common.mk#L235
 build-ext: $(EXTS_MK)
 	$(Q)$(MAKE) -f $(EXTS_MK) $(mflags) libdir="$(libdir)" LIBRUBY_EXTS=$(LIBRUBY_EXTS) \
 	    EXTENCS="$(ENCOBJS)" UPDATE_LIBRARIES=no $(EXTSTATIC)
+	$(Q)$(MAKE) -f $(EXTS_MK) $(mflags) note
 
 ext/extinit.c: $(srcdir)/template/extinit.c.tmpl
 	$(Q)$(MINIRUBY) $(srcdir)/tool/generic_erb.rb -o $@ -c \

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

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