zsh-workers
 help / color / mirror / code / Atom feed
* Pre-5.0.5 follow-up part 2: Another help files build tweak
@ 2014-02-02 21:10 Bart Schaefer
  0 siblings, 0 replies; only message in thread
From: Bart Schaefer @ 2014-02-02 21:10 UTC (permalink / raw)
  To: zsh-workers

Applying the pattern that the build uses when yodl is not available, this
creates an empty Doc/help.txt target even if Util/helpfiles fails.  This
is not needed if the documentation tarball has been extracted, but avoids
a spurious build failure otherwise.

diff --git a/Doc/Makefile.in b/Doc/Makefile.in
index 50e210f..af0a2b5 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
 


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2014-02-02 21:10 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-02-02 21:10 Pre-5.0.5 follow-up part 2: Another help files build tweak Bart Schaefer

Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).