dynare/doc/manual/Makefile.am

23 lines
687 B
Makefile
Raw Normal View History

2019-02-25 16:09:21 +01:00
EXTRA_DIST = source \
utils/dynare_dom.py \
utils/dynare_lex.py
2019-02-21 17:06:47 +01:00
SRC = $(wildcard source/*.rst)
2019-02-21 17:06:47 +01:00
html-local: build/html/index.html
build/html/index.html: $(SRC) source/conf.py
$(SPHINXBUILD) -b html -D version=$(PACKAGE_VERSION) -D release=$(PACKAGE_VERSION) -d build/doctrees source build/html
2019-02-21 17:06:47 +01:00
pdf-local: build/latex/dynare-manual.pdf
# NB: we cannot use -M latexpdf because of this bug:
# https://bugs.debian.org/933347
2019-02-21 17:06:47 +01:00
build/latex/dynare-manual.pdf: $(SRC) source/conf.py
$(SPHINXBUILD) -b latex -D version=$(PACKAGE_VERSION) -D release=$(PACKAGE_VERSION) -d build/doctrees source build/latex
make -C build/latex all-pdf
2019-02-21 17:06:47 +01:00
clean-local:
rm -rf build
2020-02-25 14:22:53 +01:00
rm -rf utils/__pycache__