Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Pre-5.0.5 follow-up part 2: Another help files build tweak



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
 



Messages sorted by: Reverse Date, Date, Thread, Author