diff options
author | Timothy Gu <timothygu99@gmail.com> | 2014-09-04 03:31:55 (GMT) |
---|---|---|
committer | MXE <mxe@mxe.cc> | 2014-09-04 03:31:55 (GMT) |
commit | 93f5573c6fd08b9243479d21bbbc2b0b12a7f525 (patch) | |
tree | 7d1b372b7848139951503c5e2cf7aa33d9c7d86b | |
parent | 9279bedac05d067229ee3b00f0a193f90082e041 (diff) | |
download | mxe-93f5573c6fd08b9243479d21bbbc2b0b12a7f525.zip mxe-93f5573c6fd08b9243479d21bbbc2b0b12a7f525.tar.gz mxe-93f5573c6fd08b9243479d21bbbc2b0b12a7f525.tar.bz2 |
Explicitly disallow paths with whitespace
It didn't work anyway even before this commit.
Workarounds #490.
-rw-r--r-- | Makefile | 4 | ||||
-rw-r--r-- | index.html | 5 |
2 files changed, 9 insertions, 0 deletions
@@ -176,6 +176,10 @@ DOWNLOAD_PKG_ARCHIVE = \ echo; \ rm -f '$(PKG_DIR)/$($(1)_FILE)'; ) +ifneq ($(words $(PWD)),1) + $(error GNU Make chokes on paths with spaces) +endif + ifeq ($(IGNORE_SETTINGS),yes) $(info [ignore settings.mk]) else ifeq ($(wildcard $(PWD)/settings.mk),$(PWD)/settings.mk) @@ -184,6 +184,11 @@ the first packages are built. </p> + <p> + Due to limitations of GNU Make, the path of MXE is not allowed + to contain any whitespace characters. + </p> + <h3 id="tutorial-2">Step 2: System-wide Installation (optional)</h3> <p> |