summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog4
-rw-r--r--Config/defs.mk.in1
-rw-r--r--Doc/.distfiles1
-rw-r--r--Doc/Makefile.in8
-rw-r--r--configure.ac1
5 files changed, 14 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 1a31df69f..269ef06ef 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,9 @@
 2005-02-04  Peter Stephenson  <pws@csr.com>
 
+	* 20787: configure.ac, Config/defs.mk.in, Doc/.distfiles,
+	Doc/Makefile.in: generate zsh.pdf from zsh.texi using pdfetex;
+	much better output than PS from DVI.
+
 	* Motoi Washida: 20785: configure.ac: libiconv test needed
 	for Mac OS X 3.
 
diff --git a/Config/defs.mk.in b/Config/defs.mk.in
index 06038b83f..fc59d68d2 100644
--- a/Config/defs.mk.in
+++ b/Config/defs.mk.in
@@ -69,6 +69,7 @@ ANSI2KNR        = @ANSI2KNR@
 YODL            = @YODL@
 YODL2TXT        = $(YODL)2txt
 YODL2HTML       = $(YODL)2html
+PDFETEX		= @PDFETEX@
 
 # install utility
 INSTALL_PROGRAM = @INSTALL_PROGRAM@
diff --git a/Doc/.distfiles b/Doc/.distfiles
index 7e1996143..6c31ac7e7 100644
--- a/Doc/.distfiles
+++ b/Doc/.distfiles
@@ -15,4 +15,5 @@ DISTFILES_DOC='
     zsh.info zsh.info-[0-9]*
     zsh.html zsh_*toc.html zsh_[0-9]*.html
     zsh.dvi zsh_us.ps zsh_a4.ps
+    zsh.pdf
 '
diff --git a/Doc/Makefile.in b/Doc/Makefile.in
index 1fb2386ff..d26e5a863 100644
--- a/Doc/Makefile.in
+++ b/Doc/Makefile.in
@@ -81,7 +81,7 @@ Zsh/seealso.yo Zsh/tcpsys.yo Zsh/zftpsys.yo Zsh/zle.yo
 all: man texi ../META-FAQ
 .PHONY: all
 
-everything: all dvi ps html
+everything: all dvi ps html pdf
 .PHONY: everything
 
 dvi: zsh.dvi
@@ -90,6 +90,12 @@ dvi: zsh.dvi
 zsh.dvi: $(sdir)/zsh.texi
 	$(TEXI2DVI) $(sdir)/zsh.texi
 
+pdf: zsh.pdf
+.PHONY: pdf
+
+zsh.pdf: $(sdir)/zsh.texi
+	$(PDFETEX) $(sdir)/zsh.texi
+
 texi: $(sdir)/zsh.texi
 .PHONY: texi
 
diff --git a/configure.ac b/configure.ac
index 6c5ba06f7..35d846c01 100644
--- a/configure.ac
+++ b/configure.ac
@@ -490,6 +490,7 @@ AC_PROG_INSTALL             dnl Check for BSD compatible `install'
 AC_PROG_AWK                 dnl Check for mawk,gawk,nawk, then awk.
 AC_PROG_LN                  dnl Check for working ln, for "make install"
 AC_CHECK_PROGS([YODL], [yodl], [: yodl])
+AC_CHECK_PROGS([PDFETEX], [pdfetex], [: pdfetex])
 AC_CHECK_PROGS([ANSI2KNR], [ansi2knr], [: ansi2knr])
 
 if test x"$ansi2knr" = xyes && test x"$ANSI2KNR" = x": ansi2knr"; then