58 lines
1.4 KiB
Makefile
58 lines
1.4 KiB
Makefile
SUBDIRS = preprocessor macroprocessor userguide parallel internals gsa
|
|
|
|
PDF_TARGETS =
|
|
|
|
if HAVE_PDFLATEX
|
|
PDF_TARGETS += guide.pdf bvar-a-la-sims.pdf dr.pdf
|
|
endif
|
|
|
|
if HAVE_DBLATEX
|
|
PDF_TARGETS += manual.pdf
|
|
endif
|
|
|
|
pdf-local: $(PDF_TARGETS)
|
|
|
|
# We don't use info_TEXINFOS because otherwise it generates a manual.pdf rule
|
|
# which conflict with ours. Hence we have to manually specify building rules.
|
|
INFO_TARGETS =
|
|
|
|
if HAVE_DOCBOOK2XTEXI_MAKEINFO
|
|
INFO_TARGETS += manual.info
|
|
endif
|
|
|
|
info-local: $(INFO_TARGETS)
|
|
|
|
if HAVE_XSLT
|
|
html-local: manual-html/index.html
|
|
endif
|
|
|
|
EXTRA_DIST = guide.tex guide.bbl bibmad.sty bvar-a-la-sims.tex dr.tex manual.xml dynare_html.xsl dynare.xsl
|
|
|
|
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
|
|
$(PDFLATEX) dr
|
|
|
|
manual-html/index.html: manual.xml dynare_html.xsl dynare.xsl
|
|
$(XSLTPROC) -stringparam base.dir ./manual-html/ dynare_html.xsl manual.xml
|
|
|
|
manual.pdf: manual.xml
|
|
$(DBLATEX) manual.xml
|
|
|
|
manual.texi: manual.xml
|
|
$(DOCBOOK2XTEXI) --encoding=utf-8//TRANSLIT --string-param output-file=manual --string-param directory-category=Math --string-param directory-description="A platform for handling a wide class of economic models." $<
|
|
|
|
manual.info: manual.texi
|
|
$(MAKEINFO) $<
|
|
|
|
clean-local:
|
|
rm -f *~ *.pdf *.log *.aux *.out manual.texi manual.info
|
|
rm -rf manual-html
|