From c44900f33273b2e95fe3c7f4dbde61f29dc9f969 Mon Sep 17 00:00:00 2001 From: Jelmer Vernooij Date: Sat, 12 Jun 2004 13:15:38 +0000 Subject: Generate thumbnails in PDF (This used to be commit 0d6673a6ec3e359a8e391d2c95c540bf5a31a17c) --- docs/Makefile.in | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) (limited to 'docs/Makefile.in') diff --git a/docs/Makefile.in b/docs/Makefile.in index e6955d07e4..0a9f7086a8 100644 --- a/docs/Makefile.in +++ b/docs/Makefile.in @@ -22,6 +22,7 @@ PNMTOPNG = @PNMTOPNG@ PNMTOPS = @PNMTOPS@ HTML2TEXT = @HTML2TEXT@ PLUCKERBUILD = @PLUCKERBUILD@ +THUMBPDF = @THUMBPDF@ PDFLATEX = TEXINPUTS=xslt/latex:.: @PDFLATEX@ LATEX = TEXINPUTS=xslt/latex:.: @LATEX@ RM = @RM@ @@ -177,21 +178,25 @@ gpl.tex: $(WGET) http://www.gnu.org/licenses/gpl.tex latexfigures: $(LATEX_FIGURES) + +%.aux: %.tex + -$(PDFLATEX) $< +%.idx: %.aux + $(MAKEINDEX) `echo $< | sed -e 's/.aux//'` + # Adobe PDF files -$(PDFDIR)/%.pdf: %.tex latexfigures gpl.tex +$(PDFDIR)/%.pdf: %.tex %.aux %.idx latexfigures gpl.tex -$(PDFLATEX) $< - $(MAKEINDEX) `echo $< | sed -e 's/.tex//'` -$(PDFLATEX) $< + $(THUMBPDF) $(patsubst %.tex,%.pdf,$<) -$(PDFLATEX) $< mv $(patsubst %.tex,%.pdf,$<) $@ epsimages: $(HOWTODIR_IMAGES_EPS) # DVI files -$(DVIDIR)/%.dvi: %.tex epsimages gpl.tex - -$(LATEX) $< - $(MAKEINDEX) `echo $< | sed -e 's/.tex//'` +$(DVIDIR)/%.dvi: %.tex %.aux %.idx epsimages gpl.tex -$(LATEX) $< -$(LATEX) $< mv $(patsubst %.tex,%.dvi,$<) $@ -- cgit