ref: 99df4919fda69e02f3253f6d843903120404a994
parent: 430e9c375a3f77578abfc61c962f757a9308acc4
author: Werner Lemberg <[email protected]>
date: Fri Dec 8 04:48:18 EST 2017
Fix `make setup dos' (#52622). * builds/detect.mk (dos_setup): Properly escape literal `>' character.
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2017-12-08 Werner Lemberg <[email protected]>
+
+ Fix `make setup dos' (#52622).
+
+ * builds/detect.mk (dos_setup): Properly escape literal `>'
+ character.
+
2017-12-07 Werner Lemberg <[email protected]>
Fix C++ compilation.
--- a/builds/detect.mk
+++ b/builds/detect.mk
@@ -131,6 +131,9 @@
# 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 @@
@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