mirror of
git://git.code.sf.net/p/zsh/code
synced 2025-10-13 11:21:13 +02:00
23028: use texi2pdf where available
This commit is contained in:
parent
7960ae5d4c
commit
8c46ae708b
4 changed files with 10 additions and 1 deletions
|
@ -1,5 +1,8 @@
|
||||||
2006-12-04 Peter Stephenson <pws@csr.com>
|
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,
|
* unposted: Doc/Zsh/calsys.yo, Functions/Calendar/age,
|
||||||
Functions/Calendar/calendar_add,
|
Functions/Calendar/calendar_add,
|
||||||
Functions/Calendar/calendar_scandate: autoload missing in
|
Functions/Calendar/calendar_scandate: autoload missing in
|
||||||
|
|
|
@ -73,6 +73,7 @@ YODL = @YODL@
|
||||||
YODL2TXT = $(YODL)2txt
|
YODL2TXT = $(YODL)2txt
|
||||||
YODL2HTML = $(YODL)2html
|
YODL2HTML = $(YODL)2html
|
||||||
PDFETEX = @PDFETEX@
|
PDFETEX = @PDFETEX@
|
||||||
|
TEXI2PDF = @TEXI2PDF@
|
||||||
|
|
||||||
# install utility
|
# install utility
|
||||||
INSTALL_PROGRAM = @INSTALL_PROGRAM@
|
INSTALL_PROGRAM = @INSTALL_PROGRAM@
|
||||||
|
|
|
@ -97,7 +97,11 @@ pdf: zsh.pdf
|
||||||
.PHONY: pdf
|
.PHONY: pdf
|
||||||
|
|
||||||
zsh.pdf: $(sdir)/zsh.texi
|
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
|
texi: $(sdir)/zsh.texi
|
||||||
.PHONY: 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_PROG_EGREP dnl sets $EGREP to grep -E or egrep
|
||||||
AC_CHECK_PROGS([YODL], [yodl], [: yodl])
|
AC_CHECK_PROGS([YODL], [yodl], [: yodl])
|
||||||
AC_CHECK_PROGS([PDFETEX], [pdfetex], [: pdfetex])
|
AC_CHECK_PROGS([PDFETEX], [pdfetex], [: pdfetex])
|
||||||
|
AC_CHECK_PROGS([TEXI2PDF], [texi2pdf], [])
|
||||||
AC_CHECK_PROGS([ANSI2KNR], [ansi2knr], [: ansi2knr])
|
AC_CHECK_PROGS([ANSI2KNR], [ansi2knr], [: ansi2knr])
|
||||||
|
|
||||||
if test x"$ansi2knr" = xyes && test x"$ANSI2KNR" = x": ansi2knr"; then
|
if test x"$ansi2knr" = xyes && test x"$ANSI2KNR" = x": ansi2knr"; then
|
||||||
|
|
Loading…
Reference in a new issue