mirror of
git://git.code.sf.net/p/zsh/code
synced 2024-09-28 15:01:21 +02:00
23028: use texi2pdf where available
This commit is contained in:
parent
7960ae5d4c
commit
8c46ae708b
@ -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
|
||||
|
@ -73,6 +73,7 @@ YODL = @YODL@
|
||||
YODL2TXT = $(YODL)2txt
|
||||
YODL2HTML = $(YODL)2html
|
||||
PDFETEX = @PDFETEX@
|
||||
TEXI2PDF = @TEXI2PDF@
|
||||
|
||||
# install utility
|
||||
INSTALL_PROGRAM = @INSTALL_PROGRAM@
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user