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:
parent
817dff033f
commit
41dbe74b94
3 changed files with 7 additions and 3 deletions
|
@ -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
|
||||
|
|
|
@ -162,9 +162,9 @@ showflags:
|
|||
|
||||
.PHONY: showconfig
|
||||
showconfig:
|
||||
@$(MESSAGE_BEGIN) \
|
||||
"$(configure_args)" \
|
||||
$(MESSAGE_END)
|
||||
@$(ECHO_BEGIN) \
|
||||
$(configure_args) \
|
||||
$(ECHO_END)
|
||||
|
||||
exts: build-ext
|
||||
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue