Fix `make setup dos' (#52622).

* builds/detect.mk (dos_setup): Properly escape literal `>'
character.
This commit is contained in:
Werner Lemberg 2017-12-08 09:48:18 +01:00
parent 430e9c375a
commit 99df4919fd
2 changed files with 11 additions and 1 deletions

View File

@ -1,3 +1,10 @@
2017-12-08 Werner Lemberg <wl@gnu.org>
Fix `make setup dos' (#52622).
* builds/detect.mk (dos_setup): Properly escape literal `>'
character.
2017-12-07 Werner Lemberg <wl@gnu.org>
Fix C++ compilation.

View File

@ -131,6 +131,9 @@ std_setup:
# Special case for Dos, Windows, OS/2, where echo "" doesn't work correctly!
#
# For `cmd.exe', we have to escape (unquoted) special characters like `>' as
# `^>', and we use 0xFF as a replacement character for a protected space.
#
dos_setup:
@type builds$(SEP)newline
@echo $(PROJECT_TITLE) build system -- automatic system detection
@ -146,7 +149,7 @@ dos_setup:
@echo '$(CONFIG_MK)' from this directory then read the INSTALL file for help.
@type builds$(SEP)newline
@echo Otherwise, simply type 'make' again to build the library.
@echo or 'make refdoc' to build the API reference (this needs python >= 2.6).
@echo or 'make refdoc' to build the API reference (this needs python ^>= 2.6).
@type builds$(SEP)newline
@$(COPY) $(subst /,$(SEP),$(CONFIG_RULES) $(CONFIG_MK)) > nul