about summary refs log tree commit diff
diff options
context:
space:
mode:
authorBarton E. Schaefer <schaefer@zsh.org>2014-02-02 13:19:25 -0800
committerBarton E. Schaefer <schaefer@zsh.org>2014-02-02 13:19:25 -0800
commitff201da5151829ba730f9d5f3e618c434c91ed9d (patch)
treef07190925ae5b282c28f3e608241b22ad58233a3
parentf3e7cfe47c32a236f8ef1a54dd9eb0d509270e0a (diff)
downloadzsh-ff201da5151829ba730f9d5f3e618c434c91ed9d.tar.gz
zsh-ff201da5151829ba730f9d5f3e618c434c91ed9d.tar.xz
zsh-ff201da5151829ba730f9d5f3e618c434c91ed9d.zip
32338: create empty help.txt so lack of helpfiles does not break the build
-rw-r--r--ChangeLog4
-rw-r--r--Doc/Makefile.in3
2 files changed, 6 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 1d28b4fdc..96cf0e9f8 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,9 @@
 2014-02-02  Barton E. Schaefer  <schaefer@zsh.org>
 
+	* 32338: Doc/Makefile.in: create Doc/help.txt as an empty file
+	when Util/helpfiles fails, so that the rest of the build does not
+	yeild a spurious error
+
 	* 32337: Src/params.c: initialize several special parameters to
 	unset for better compatibility in emulation modes; for the same
 	reason, remove the readonly flag from $_
diff --git a/Doc/Makefile.in b/Doc/Makefile.in
index 50e210fcf..af0a2b5da 100644
--- a/Doc/Makefile.in
+++ b/Doc/Makefile.in
@@ -191,7 +191,8 @@ help.txt: zshbuiltins.1
 	@-rm -f $(sdir)/help.txt $(sdir)/help/*
 	perl $(sdir_top)/Util/helpfiles \
 	    $(sdir)/zshbuiltins.1 $(sdir)/help $(sdir)/help.txt \
-	    || { rm -f $(sdir)/help.txt $(sdir)/help/*; false; }
+	    || rm -f $(sdir)/help.txt $(sdir)/help/*
+	touch $(sdir)/$@
 
 $(MAN): zmacros.yo zman.yo