diff --git a/doc/Makefile.am b/doc/Makefile.am index a785c8121efdf81621625899eed6a1a3ef2f0d0a..736b5551a45948780907efa192cce9a17bf7d87e 100644 --- a/doc/Makefile.am +++ b/doc/Makefile.am @@ -1,21 +1,21 @@ SUBDIRS = preprocessor macroprocessor userguide -TARGETS = +PDF_TARGETS = if HAVE_PDFLATEX -TARGETS += guide.pdf bvar-a-la-sims.pdf +PDF_TARGETS += guide.pdf bvar-a-la-sims.pdf endif -if HAVE_BIBTEX -TARGETS += manual.pdf +if HAVE_DBLATEX +PDF_TARGETS += manual.pdf endif +pdf-local: $(PDF_TARGETS) + if HAVE_XSLT -TARGETS += manual-html/index.html +html-local: manual-html/index.html endif -all-local: $(TARGETS) - EXTRA_DIST = guide.tex guide.bbl bibmad.sty bvar-a-la-sims.tex manual.xml dynare_html.xsl manual.xml guide.pdf: guide.tex guide.bbl bibmad.sty diff --git a/doc/macroprocessor/Makefile.am b/doc/macroprocessor/Makefile.am index 9dbf04a6299e1d1fb6c6fb4f50c691b1deb8663e..aaef0a7937672a80b64da8ab0e5ecfea2cc6c09b 100644 --- a/doc/macroprocessor/Makefile.am +++ b/doc/macroprocessor/Makefile.am @@ -1,5 +1,5 @@ if HAVE_PDFLATEX -all-local: macroprocessor.pdf +pdf-local: macroprocessor.pdf endif SRC = macroprocessor.tex old-design.pdf new-design.pdf diff --git a/doc/preprocessor/Makefile.am b/doc/preprocessor/Makefile.am index 4a2dc4da10665028341c7015e491556a29ef4eca..9b70186365994629a986ebb09497895b763a3530 100644 --- a/doc/preprocessor/Makefile.am +++ b/doc/preprocessor/Makefile.am @@ -1,5 +1,5 @@ if HAVE_PDFLATEX -all-local: preprocessor.pdf +pdf-local: preprocessor.pdf endif SRC = preprocessor.tex expr.png expr-sharing.png matrices.png overview.png diff --git a/doc/userguide/Makefile.am b/doc/userguide/Makefile.am index 13763549424d5ecd1c8add793285e8137373a2e1..4b3434339638d5592608af471abf8bfdb3462706 100644 --- a/doc/userguide/Makefile.am +++ b/doc/userguide/Makefile.am @@ -1,6 +1,6 @@ if HAVE_PDFLATEX if HAVE_BIBTEX -all-local: UserGuide.pdf +pdf-local: UserGuide.pdf endif endif