From 06e7755cd809267b3c7ff0858830ca35b97375c8 Mon Sep 17 00:00:00 2001 From: sebastien <sebastien@ac1d8469-bf42-47a9-8791-bf33cf982152> Date: Thu, 10 Sep 2009 16:51:12 +0000 Subject: [PATCH] * Following GNU build system rules, PDF documentation is now built with "make pdf", HTML doc with "make html" * Fixed bug when dblatex not present git-svn-id: https://www.dynare.org/svn/dynare/trunk@2915 ac1d8469-bf42-47a9-8791-bf33cf982152 --- doc/Makefile.am | 14 +++++++------- doc/macroprocessor/Makefile.am | 2 +- doc/preprocessor/Makefile.am | 2 +- doc/userguide/Makefile.am | 2 +- 4 files changed, 10 insertions(+), 10 deletions(-) diff --git a/doc/Makefile.am b/doc/Makefile.am index a785c8121e..736b5551a4 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 9dbf04a629..aaef0a7937 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 4a2dc4da10..9b70186365 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 1376354942..4b34343396 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 -- GitLab