1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

common.mk: no expansion

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

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39177 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
nobu 2013-02-09 15:16:15 +00:00
parent 817dff033f
commit 41dbe74b94
3 changed files with 7 additions and 3 deletions

View file

@ -178,6 +178,8 @@ OS_DEST_FILE = $@
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

View file

@ -162,9 +162,9 @@ showflags:
.PHONY: showconfig
showconfig:
@$(MESSAGE_BEGIN) \
"$(configure_args)" \
$(MESSAGE_END)
@$(ECHO_BEGIN) \
$(configure_args) \
$(ECHO_END)
exts: build-ext

View file

@ -373,6 +373,8 @@ ruby_pc = $(RUBY_BASE_NAME)-$(MAJOR).$(MINOR).pc
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