From 8c46ae708bf79d02f04f9cfc73afd87b519939f7 Mon Sep 17 00:00:00 2001 From: Peter Stephenson Date: Mon, 4 Dec 2006 11:24:10 +0000 Subject: 23028: use texi2pdf where available --- Doc/Makefile.in | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'Doc') diff --git a/Doc/Makefile.in b/Doc/Makefile.in index c87f79cef..ca1ab2741 100644 --- a/Doc/Makefile.in +++ b/Doc/Makefile.in @@ -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 -- cgit 1.4.1