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

ruby-changes:44005

From: nobu <ko1@a...>
Date: Tue, 6 Sep 2016 12:10:48 +0900 (JST)
Subject: [ruby-changes:44005] nobu:r56078 (trunk): socket/depend: add srcs [ci skip]

nobu	2016-09-06 12:10:43 +0900 (Tue, 06 Sep 2016)

  New Revision: 56078

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

  Log:
    socket/depend: add srcs [ci skip]
    
    * ext/socket/depend (srcs): phony target to update confdefs source
      files.

  Modified files:
    trunk/common.mk
    trunk/ext/socket/depend
Index: common.mk
===================================================================
--- common.mk	(revision 56077)
+++ common.mk	(revision 56078)
@@ -925,15 +925,15 @@ $(srcdir)/ext/rbconfig/sizeof/sizes.c: $ https://github.com/ruby/ruby/blob/trunk/common.mk#L925
 		$(srcdir)/tool/generic_erb.rb $(srcdir)/template/sizes.c.tmpl $(srcdir)/configure.in
 	$(ECHO) generating $@
 	$(Q) $(CHDIR) $(@D) && \
-	sed '/AUTOGENERATED/q;s#{.*}##' depend | \
+	sed '/AUTOGENERATED/q' depend | \
 	$(exec) $(MAKE) -f - $(MFLAGS) \
 		Q=$(Q) ECHO=$(ECHO) top_srcdir=../../.. srcdir=. VPATH=../../.. RUBY="$(BASERUBY)"
 
 $(srcdir)/ext/socket/constdefs.c: $(srcdir)/ext/socket/depend
 	$(Q) $(CHDIR) $(@D) && \
-	sed -n "/^constdefs/,/^$$/p" depend | \
-	$(exec) $(MAKE) -f - $(MFLAGS) constdefs.h constdefs.c \
-		Q=$(Q) ECHO=$(ECHO) top_srcdir=../../.. srcdir=. VPATH=../../.. RUBY="$(BASERUBY)"
+	sed '/AUTOGENERATED/q' depend | \
+	$(exec) $(MAKE) -f - $(MFLAGS) \
+		Q=$(Q) ECHO=$(ECHO) top_srcdir=../.. srcdir=. VPATH=../.. RUBY="$(BASERUBY)"
 
 ##
 
Index: ext/socket/depend
===================================================================
--- ext/socket/depend	(revision 56077)
+++ ext/socket/depend	(revision 56078)
@@ -1,3 +1,5 @@ https://github.com/ruby/ruby/blob/trunk/ext/socket/depend#L1
+srcs: constdefs.h constdefs.c
+
 getnameinfo.o: getnameinfo.c $(arch_hdrdir)/ruby/config.h addrinfo.h sockport.h rubysocket.h
 getaddrinfo.o: getaddrinfo.c $(arch_hdrdir)/ruby/config.h addrinfo.h sockport.h
 

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

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