1
0
Fork 0
mirror of git://git.code.sf.net/p/zsh/code synced 2024-06-09 00:36:06 +02:00

23028: use texi2pdf where available

This commit is contained in:
Peter Stephenson 2006-12-04 11:24:10 +00:00
parent 7960ae5d4c
commit 8c46ae708b
4 changed files with 10 additions and 1 deletions

View File

@ -1,5 +1,8 @@
2006-12-04 Peter Stephenson <pws@csr.com>
* 23028: configure.ac, Config/defs.mk.in, Doc/Makefile.in:
use texi2pdf where available.
* unposted: Doc/Zsh/calsys.yo, Functions/Calendar/age,
Functions/Calendar/calendar_add,
Functions/Calendar/calendar_scandate: autoload missing in

View File

@ -73,6 +73,7 @@ YODL = @YODL@
YODL2TXT = $(YODL)2txt
YODL2HTML = $(YODL)2html
PDFETEX = @PDFETEX@
TEXI2PDF = @TEXI2PDF@
# install utility
INSTALL_PROGRAM = @INSTALL_PROGRAM@

View File

@ -97,7 +97,11 @@ pdf: zsh.pdf
.PHONY: pdf
zsh.pdf: $(sdir)/zsh.texi
PDFTEX=$(PDFETEX) $(TEXI2DVI) --pdf $(sdir)/zsh.texi
if [ x$(TEXI2PDF) != x ]; then \
$(TEXI2PDF) $(sdir)/zsh.texi; \
else \
PDFTEX=$(PDFETEX) $(TEXI2DVI) --pdf $(sdir)/zsh.texi; \
fi
texi: $(sdir)/zsh.texi
.PHONY: texi

View File

@ -516,6 +516,7 @@ AC_PROG_LN dnl Check for working ln, for "make install"
AC_PROG_EGREP dnl sets $EGREP to grep -E or egrep
AC_CHECK_PROGS([YODL], [yodl], [: yodl])
AC_CHECK_PROGS([PDFETEX], [pdfetex], [: pdfetex])
AC_CHECK_PROGS([TEXI2PDF], [texi2pdf], [])
AC_CHECK_PROGS([ANSI2KNR], [ansi2knr], [: ansi2knr])
if test x"$ansi2knr" = xyes && test x"$ANSI2KNR" = x": ansi2knr"; then