summaryrefslogtreecommitdiff
path: root/builds
diff options
context:
space:
mode:
authorWerner Lemberg <wl@gnu.org>2017-12-08 09:48:18 +0100
committerWerner Lemberg <wl@gnu.org>2017-12-08 09:48:18 +0100
commit99df4919fda69e02f3253f6d843903120404a994 (patch)
tree9257395e3952c141cfe071d74fa5a9b03d664031 /builds
parent430e9c375a3f77578abfc61c962f757a9308acc4 (diff)
downloadfreetype2-99df4919fda69e02f3253f6d843903120404a994.tar.gz
Fix `make setup dos' (#52622).
* builds/detect.mk (dos_setup): Properly escape literal `>' character.
Diffstat (limited to 'builds')
-rw-r--r--builds/detect.mk5
1 files changed, 4 insertions, 1 deletions
diff --git a/builds/detect.mk b/builds/detect.mk
index 4ed478e43..e5100a60f 100644
--- a/builds/detect.mk
+++ b/builds/detect.mk
@@ -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