diff options
author | Jelmer Vernooij <jelmer@samba.org> | 2008-05-27 18:40:14 +0200 |
---|---|---|
committer | Jelmer Vernooij <jelmer@samba.org> | 2008-05-27 18:40:14 +0200 |
commit | 5f6d0078d41e790ab4fa7dac15294821cdb4d4f0 (patch) | |
tree | c1d0a1a5363a486f5d491342675a34586ec3a3f5 | |
parent | 55da8e64e54f9ecef703b0d2075c738e5b38b394 (diff) | |
download | samba-5f6d0078d41e790ab4fa7dac15294821cdb4d4f0.tar.gz samba-5f6d0078d41e790ab4fa7dac15294821cdb4d4f0.tar.bz2 samba-5f6d0078d41e790ab4fa7dac15294821cdb4d4f0.zip |
Depend on latexfigures files directly as using a rule in between causes problems.
(This used to be commit bf3c2773f94c1db29a8a3e5935ff587f16f9a905)
-rw-r--r-- | docs-xml/Makefile | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/docs-xml/Makefile b/docs-xml/Makefile index 70ffdc13bb..2acef3e243 100644 --- a/docs-xml/Makefile +++ b/docs-xml/Makefile @@ -61,7 +61,7 @@ clean:: $(patsubst %.svg,%.eps,$(foreach DOC,$(MAIN_DOCS),$($(DOC)-images-latex-svg))) rm -f *-attributions.xml *.d *.tpt *.tex *.loc *.toc *.lof *.glo *.idx *.aux rm -f *-images-html* - rm -f *-images-latex-* latexfigures + rm -f *-images-latex-* $(LATEX_FIGURES) rm -f xslt/figures/*pdf rm -f $(SMBDOTCONFDOC)/parameters.*.xml rm -f $(addsuffix .*,$(MAIN_DOCS)) @@ -145,13 +145,11 @@ $(TXTDIR)/%.txt: $(HTMLDIR)/%.html @mkdir -p $(@D) @$(XSLTPROC) $(DB2LATEX_ARGS) --stringparam latex.imagebasedir "$*/" --xinclude --output $@ xslt/latex.xsl $< -latexfigures:: $(LATEX_FIGURES) - $(PDFDIR)/%.pdf: %.pdf @mkdir -p $(@D) cp $< $@ -%.idx: %.tex latexfigures +%.idx: %.tex $(LATEX_FIGURES) -$(PDFLATEX) $< %.ind: %.idx @@ -193,7 +191,7 @@ endif endif # Adobe PDF files -%.pdf: %.tex %.ind latexfigures %-images-latex-png %-images-latex-pdf +%.pdf: %.tex %.ind $(LATEX_FIGURES) %-images-latex-png %-images-latex-pdf -$(PDFLATEX) $< -$(PDFLATEX) $< -$(PDFLATEX) $< @@ -328,5 +326,5 @@ distclean clobber:: clean # Always keep intermediate files if we can .SECONDARY: -.PHONY: clean clobber archive release everything all latexfigures +.PHONY: clean clobber archive release everything all |