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

[PATCH] Doc/Makefile.in: create a dummy zsh.texi if if yodl isn't available



This fixes a build failure when yodl isn't available.
---
 Doc/Makefile.in | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/Doc/Makefile.in b/Doc/Makefile.in
index f4ee0d7..41af4a3 100644
--- a/Doc/Makefile.in
+++ b/Doc/Makefile.in
@@ -119,8 +119,10 @@ texi: $(sdir)/zsh.texi
 .PHONY: texi
 
 $(sdir)/zsh.texi: version.yo
-	$(YODL) -o $@ -I$(sdir) -w ztexi.yo version.yo zsh.yo; \
-	test -f $@
+	case '$(YODL)' in :*) touch $@ ;; *) \
+	    $(YODL) -o $@ -I$(sdir) -w ztexi.yo version.yo zsh.yo; \
+	    test -f $@ \
+	;; esac
 
 info: zsh.info
 .PHONY: info
-- 
1.9.3



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