1
0
Fork 0
mirror of git://git.code.sf.net/p/zsh/code synced 2025-01-01 05:16:05 +01:00

Merge of 23028: use texi2pdf where available.

This commit is contained in:
Paul Ackersviller 2007-11-10 03:19:06 +00:00
parent d560621d71
commit 756acdc5d3
3 changed files with 7 additions and 1 deletions

View file

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

View file

@ -95,7 +95,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

@ -492,6 +492,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