diff options
author | Jelmer Vernooij <jelmer@samba.org> | 2004-06-12 13:15:38 +0000 |
---|---|---|
committer | Gerald W. Carter <jerry@samba.org> | 2008-04-23 08:45:53 -0500 |
commit | c44900f33273b2e95fe3c7f4dbde61f29dc9f969 (patch) | |
tree | d954d469835185fa7cf4c80cbbfefa9665f0fd6f /docs/Makefile.in | |
parent | 3d732aae1b30de4307eab79d2c4338b1187db52c (diff) | |
download | samba-c44900f33273b2e95fe3c7f4dbde61f29dc9f969.tar.gz samba-c44900f33273b2e95fe3c7f4dbde61f29dc9f969.tar.bz2 samba-c44900f33273b2e95fe3c7f4dbde61f29dc9f969.zip |
Generate thumbnails in PDF
(This used to be commit 0d6673a6ec3e359a8e391d2c95c540bf5a31a17c)
Diffstat (limited to 'docs/Makefile.in')
-rw-r--r-- | docs/Makefile.in | 15 |
1 files changed, 10 insertions, 5 deletions
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,$<) $@ |