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

ruby-changes:27125

From: nobu <ko1@a...>
Date: Sun, 10 Feb 2013 00:16:26 +0900 (JST)
Subject: [ruby-changes:27125] nobu:r39177 (trunk): common.mk: no expansion

nobu	2013-02-10 00:16:15 +0900 (Sun, 10 Feb 2013)

  New Revision: 39177

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

  Log:
    common.mk: no expansion
    
    * common.mk (showconfig): get rid of variable expansion by shell.

  Modified files:
    trunk/Makefile.in
    trunk/common.mk
    trunk/win32/Makefile.sub

Index: common.mk
===================================================================
--- common.mk	(revision 39176)
+++ common.mk	(revision 39177)
@@ -162,9 +162,9 @@ showflags: https://github.com/ruby/ruby/blob/trunk/common.mk#L162
 
 .PHONY: showconfig
 showconfig:
-	@$(MESSAGE_BEGIN) \
-	"$(configure_args)" \
-	$(MESSAGE_END)
+	@$(ECHO_BEGIN) \
+	$(configure_args) \
+	$(ECHO_END)
 
 exts: build-ext
 
Index: win32/Makefile.sub
===================================================================
--- win32/Makefile.sub	(revision 39176)
+++ win32/Makefile.sub	(revision 39177)
@@ -373,6 +373,8 @@ ruby_pc = $(RUBY_BASE_NAME)-$(MAJOR).$(M https://github.com/ruby/ruby/blob/trunk/win32/Makefile.sub#L373
 
 MESSAGE_BEGIN = @for %I in (
 MESSAGE_END = ) do @echo.%~I
+ECHO_BEGIN = @echo.
+ECHO_END =
 
 all: $(srcdir)/win32/Makefile.sub $(win_srcdir)/Makefile.sub $(srcdir)/common.mk
 
Index: Makefile.in
===================================================================
--- Makefile.in	(revision 39176)
+++ Makefile.in	(revision 39177)
@@ -178,6 +178,8 @@ OS_DEST_FILE  = $@ https://github.com/ruby/ruby/blob/trunk/Makefile.in#L178
 
 MESSAGE_BEGIN = @for line in
 MESSAGE_END = ; do echo "$$line"; done
+ECHO_BEGIN = @sep=''; for word in
+ECHO_END = ; do echo @ECHO_N@ "$$sep'$$word'@ECHO_C@"; sep=' '; done; echo
 
 configure_args = @configure_args@
 #### End of variables

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

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