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

PATCH: 3.1.4: Quash excess output from compile of manpages and info



I find confusing that "make" in the Doc subtree prints out

 	echo Info documentation cannot be compiled without makeinfo. ;
 	echo You can find precompiled info files in zsh-doc.tar.gz. ; }

even when I have makeinfo and the whole compile has gone fine.  It always
makes me think for a moment that something has gone wrong, before I spot
the leading "echo" on each of those lines.

It's also unnecessarily verbose to see the entire "case" statement used
to set $target in the yodl-to-man conversion.

Nit I didn't fix:  Why `yodl || exit 1 ; test` rather than `yodl && test`?

Index: Doc/Makefile.in
===================================================================
RCS file: /extra/cvsroot/zsh/zsh-3.1/Doc/Makefile.in,v
retrieving revision 1.1.1.1
diff -u -r1.1.1.1 Makefile.in
--- Makefile.in	1998/06/01 17:08:42	1.1.1.1
+++ Makefile.in	1998/08/23 19:05:20
@@ -64,7 +64,8 @@
 	$(TEXI2DVI) $(sdir)/zsh.texi
 
 zsh.info: zsh.texi
-	$(MAKEINFO) $(sdir)/zsh.texi || { \
+	@echo $(MAKEINFO) $(sdir)/zsh.texi
+	@$(MAKEINFO) $(sdir)/zsh.texi || { \
 	echo Info documentation cannot be compiled without $(MAKEINFO). ; \
 	echo You can find precompiled info files in zsh-doc.tar.gz. ; }
 
@@ -73,10 +74,11 @@
 	test -f $(sdir)/zsh.texi
 
 .yo.$(manext):
-	case $@ in \
+	@case $@ in \
 	  */*) target=$@ ;; \
 	  *) target=$(sdir)/$@ ;; \
 	esac; \
+	echo $(YODL) -o $$target -I$(sdir) -w zman.yo paths.yo $< ; \
 	$(YODL) -o $$target -I$(sdir) -w zman.yo paths.yo $< || exit 1; \
 	test -f $$target
 

-- 
Bart Schaefer                                 Brass Lantern Enterprises
http://www.well.com/user/barts              http://www.brasslantern.com



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