mirror of
https://github.com/ruby/ruby.git
synced 2025-08-15 13:39:04 +02:00
NMake needs caret to escape a hash sign
This commit is contained in:
parent
6b2d9ed2a5
commit
401932c18f
3 changed files with 4 additions and 1 deletions
|
@ -1539,7 +1539,7 @@ prepare-gems: $(HAVE_BASERUBY:yes=update-gems) $(HAVE_BASERUBY:yes=extract-gems)
|
||||||
extract-gems: $(HAVE_BASERUBY:yes=update-gems) $(HAVE_BASERUBY:yes=outdate-bundled-gems)
|
extract-gems: $(HAVE_BASERUBY:yes=update-gems) $(HAVE_BASERUBY:yes=outdate-bundled-gems)
|
||||||
update-gems: $(HAVE_BASERUBY:yes=outdate-bundled-gems)
|
update-gems: $(HAVE_BASERUBY:yes=outdate-bundled-gems)
|
||||||
|
|
||||||
split_option = -F"\s+|\#.*"
|
split_option = -F"\s+|$(HASH_SIGN).*"
|
||||||
|
|
||||||
update-gems$(sequential): PHONY
|
update-gems$(sequential): PHONY
|
||||||
$(ECHO) Downloading bundled gem files...
|
$(ECHO) Downloading bundled gem files...
|
||||||
|
|
|
@ -289,6 +289,8 @@ ABI_VERSION_HDR = $(hdrdir)/ruby/internal/abi.h
|
||||||
|
|
||||||
CAT_DEPEND = sed -e 's/{\$$([^(){}]*)[^{}]*}//g' -e /AUTOGENERATED/q
|
CAT_DEPEND = sed -e 's/{\$$([^(){}]*)[^{}]*}//g' -e /AUTOGENERATED/q
|
||||||
|
|
||||||
|
HASH_SIGN = \#
|
||||||
|
|
||||||
.SUFFIXES: .inc .h .c .y .i .$(ASMEXT) .$(DTRACE_EXT)
|
.SUFFIXES: .inc .h .c .y .i .$(ASMEXT) .$(DTRACE_EXT)
|
||||||
|
|
||||||
all:
|
all:
|
||||||
|
|
|
@ -464,6 +464,7 @@ ASMEXT = asm
|
||||||
|
|
||||||
INSTALLED_LIST= .installed.list
|
INSTALLED_LIST= .installed.list
|
||||||
|
|
||||||
|
HASH_SIGN = ^#
|
||||||
SRC_FILE = $(<:\=/)
|
SRC_FILE = $(<:\=/)
|
||||||
OS_SRC_FILE = $(<:/=\)
|
OS_SRC_FILE = $(<:/=\)
|
||||||
DEST_FILE = $(@:\=/)
|
DEST_FILE = $(@:\=/)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue