SUBDIRS = parallel internals gsa dseries-and-reporting info_TEXINFOS = dynare.texi if HAVE_LATEX2HTML html-local: dynare.html # The temporary directory for latex2html (L2H_TMP) must not contain a dot, so # enforce standard tmp directory instead of defaulting to current directory dynare.html: dynare.texi rm -rf dynare.html texi2any --html --split=section -c L2H=1 -c L2H_TMP=$${TMPDIR:-/tmp} -c PREFIX=dynare.html dynare.texi endif PDF_TARGETS = if HAVE_PDFLATEX PDF_TARGETS += guide.pdf bvar-a-la-sims.pdf if HAVE_BIBTEX PDF_TARGETS += dr.pdf endif endif pdf-local: $(PDF_TARGETS) EXTRA_DIST = guide.tex guide.bbl bibmad.sty bvar-a-la-sims.tex dr.tex dr.bib dynare.plots guide.pdf: guide.tex guide.bbl bibmad.sty $(PDFLATEX) guide $(PDFLATEX) guide bvar-a-la-sims.pdf: bvar-a-la-sims.tex $(PDFLATEX) bvar-a-la-sims $(PDFLATEX) bvar-a-la-sims dr.pdf: dr.tex $(PDFLATEX) dr $(BIBTEX) dr $(PDFLATEX) dr $(PDFLATEX) dr clean-local: # Do not delete guide.bbl which is not autogenerated rm -f *~ *.pdf *.log *.aux *.out *.blg dr.bbl