Improve the robustness of the INSTALL scripts.

.INSTALL.in:
INSTALL.git:
    Generate an error if the name of the current directory contains spaces.

.INSTALL.in:
    Also generate an error if the current directory lacks a boehm_gc subdir,
    indicating that it is not the result of unpacking a source distribution.

Mmakefile:
    Make INSTALL executable after it is created from .INSTALL.in.
    (INSTALL.git is already executable.)
This commit is contained in:
Zoltan Somogyi
2017-04-21 17:12:34 +10:00
parent 63d7101a53
commit 81eec9f92f
3 changed files with 23 additions and 0 deletions

View File

@@ -417,6 +417,7 @@ README: .README.in VERSION
INSTALL: .INSTALL.in VERSION
sed 's/@VERSION@/$(VERSION)/g' .INSTALL.in > INSTALL
chmod a+x INSTALL
ifeq ("$(LYNX)","")
HTML_TO_TEXT = cat