Makefile.am 1.03 KB
Newer Older
1
SUBDIRS = parallel internals gsa dseries-and-reporting
2

3 4 5
info_TEXINFOS = dynare.texi

if HAVE_LATEX2HTML
6 7
html-local: dynare.html

8 9
# The temporary directory for latex2html (L2H_TMP) must not contain a dot, so
# enforce standard tmp directory instead of defaulting to current directory
10
dynare.html: dynare.texi
11
	rm -rf dynare.html
12
	texi2any --html --split=section -c L2H=1 -c L2H_TMP=$${TMPDIR:-/tmp} -c PREFIX=dynare.html dynare.texi
13 14
endif

15
PDF_TARGETS =
16 17

if HAVE_PDFLATEX
18 19 20 21
PDF_TARGETS += guide.pdf bvar-a-la-sims.pdf
if HAVE_BIBTEX
PDF_TARGETS += dr.pdf
endif
22 23
endif

24 25
pdf-local: $(PDF_TARGETS)

26
EXTRA_DIST = guide.tex guide.bbl bibmad.sty bvar-a-la-sims.tex dr.tex dr.bib dynare.plots
27 28 29 30 31 32 33 34 35

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

36
dr.pdf: dr.tex
37 38
	$(PDFLATEX) dr
	$(BIBTEX) dr
39 40 41
	$(PDFLATEX) dr
	$(PDFLATEX) dr

42
clean-local:
43
# Do not delete guide.bbl which is not autogenerated
44
	rm -f *~ *.pdf *.log *.aux *.out *.blg dr.bbl