diff --git a/doc/manual/Makefile.am b/doc/manual/Makefile.am new file mode 100644 index 000000000..9ebfbfdab --- /dev/null +++ b/doc/manual/Makefile.am @@ -0,0 +1,16 @@ +EXTRA_DIST = source + +SRC = $(wildcard src/source/*.rst) + +html-local: build/html/index.html + +build/html/index.html: $(SRC) source/conf.py + $(SPHINXBUILD) -M html source build + +pdf-local: build/latex/dynare-manual.pdf + +build/latex/dynare-manual.pdf: $(SRC) source/conf.py + $(SPHINXBUILD) -M latexpdf source build + +clean-local: + rm -rf build diff --git a/doc/manual/utils/version.py.in b/doc/manual/utils/version.py.in new file mode 100644 index 000000000..2add40f51 --- /dev/null +++ b/doc/manual/utils/version.py.in @@ -0,0 +1,2 @@ +version = u'@PACKAGE_VERSION@' +release = u'@PACKAGE_VERSION@'