about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--Doc/Makefile.in12
1 files changed, 6 insertions, 6 deletions
diff --git a/Doc/Makefile.in b/Doc/Makefile.in
index 1c9457ad7..471366680 100644
--- a/Doc/Makefile.in
+++ b/Doc/Makefile.in
@@ -178,18 +178,18 @@ Zsh/modlist.yo: $(MODDOCSRC)
 		echo ")"; \
 	    done; \
 	    echo "enditem()"; \
-	    echo "includefile(Zsh/modmenu.yo)"; \
+	    echo "includefile(Zsh/modmenu.yo)"; \
 	    set '' $(MODDOCSRC); \
-	    unset mod1 mod2 mod3; \
-	    test ".$$2" != . && \
+	    unset mod1 mod2 mod3 || true; \
+	    test ".$$2" = . || \
 		mod2=`sed -n '1{s|^COMMENT(!MOD!||;p;q;}' < $(sdir)/$$2`; \
 	    while test ".$$2" != .; do \
-		unset mod3; \
-		test ".$$3" != . && \
+		unset mod3 || true; \
+		test ".$$3" = . || \
 		    mod3=`sed -n '1{s|^COMMENT(!MOD!||;p;q;}' < $(sdir)/$$3`; \
 		echo "texinode(The $$mod2 Module)($${mod3+The $$mod3 Module})($${mod1:+The $$mod1 Module})(Zsh Modules)"; \
 		echo "sect(The $$mod2 Module)"; \
-		echo "includefile($${2})"; \
+		echo "includefile($${2})"; \
 		shift; \
 		mod1=$$mod2; \
 		mod2=$$mod3; \