2018-02-19 15:10:07 +01:00
|
|
|
SUBDIRS = parallel internals gsa dseries-and-reporting
|
2009-09-10 11:50:58 +02:00
|
|
|
|
2011-03-17 17:54:00 +01:00
|
|
|
info_TEXINFOS = dynare.texi
|
|
|
|
|
|
|
|
if HAVE_LATEX2HTML
|
2011-12-25 10:58:38 +01:00
|
|
|
html-local: dynare.html
|
|
|
|
|
2017-06-29 12:32:21 +02:00
|
|
|
# The temporary directory for latex2html (L2H_TMP) must not contain a dot, so
|
|
|
|
# enforce standard tmp directory instead of defaulting to current directory
|
2011-12-25 10:58:38 +01:00
|
|
|
dynare.html: dynare.texi
|
2011-03-17 17:54:00 +01:00
|
|
|
rm -rf dynare.html
|
2017-06-29 12:32:21 +02:00
|
|
|
texi2any --html --split=section -c L2H=1 -c L2H_TMP=$${TMPDIR:-/tmp} -c PREFIX=dynare.html dynare.texi
|
2011-03-17 17:54:00 +01:00
|
|
|
endif
|
|
|
|
|
2009-09-10 18:51:12 +02:00
|
|
|
PDF_TARGETS =
|
2009-09-10 11:50:58 +02:00
|
|
|
|
|
|
|
if HAVE_PDFLATEX
|
2011-04-12 19:04:07 +02:00
|
|
|
PDF_TARGETS += guide.pdf bvar-a-la-sims.pdf
|
|
|
|
if HAVE_BIBTEX
|
|
|
|
PDF_TARGETS += dr.pdf
|
|
|
|
endif
|
2009-09-10 11:50:58 +02:00
|
|
|
endif
|
|
|
|
|
2009-09-10 18:51:12 +02:00
|
|
|
pdf-local: $(PDF_TARGETS)
|
|
|
|
|
2013-11-18 15:26:37 +01:00
|
|
|
EXTRA_DIST = guide.tex guide.bbl bibmad.sty bvar-a-la-sims.tex dr.tex dr.bib dynare.plots
|
2009-09-10 11:50:58 +02:00
|
|
|
|
|
|
|
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
|
|
|
|
|
2009-12-14 15:21:16 +01:00
|
|
|
dr.pdf: dr.tex
|
2011-04-12 19:04:07 +02:00
|
|
|
$(PDFLATEX) dr
|
|
|
|
$(BIBTEX) dr
|
2009-12-14 15:21:16 +01:00
|
|
|
$(PDFLATEX) dr
|
|
|
|
$(PDFLATEX) dr
|
|
|
|
|
2009-09-10 11:50:58 +02:00
|
|
|
clean-local:
|
2011-06-13 11:41:19 +02:00
|
|
|
# Do not delete guide.bbl which is not autogenerated
|
2011-06-13 11:55:38 +02:00
|
|
|
rm -f *~ *.pdf *.log *.aux *.out *.blg dr.bbl
|