Commit 66f51dc9 authored by Tomek Mrugalski's avatar Tomek Mrugalski 🛰 Committed by Michal Nowikowski
Browse files

Added targets for PDF and multi-page HTML

 - also updated -M to -b which is supported by sphinx 2.x
parent a1adbffd
......@@ -185,6 +185,12 @@ devel:
guide:
$(MAKE) -C guide kea-guide.html
pdf:
$(MAKE) -C guide kea-guide.pdf
pages:
$(MAKE) -C guide pages
clean:
rm -rf html
......
......@@ -36,12 +36,15 @@ sphinxbuild = sphinx-build
sphinxopts = -E
kea-guide.pdf: $(rst_sources)
@$(sphinxbuild) -M latexpdf $(srcdir) $(builddir)/_build $(sphinxopts)
@$(sphinxbuild) -b latex $(srcdir) $(builddir)/_build $(sphinxopts)
kea-guide.html: $(rst_sources)
@$(sphinxbuild) -M singlehtml $(srcdir) $(builddir)/_build $(sphinxopts)
@$(sphinxbuild) -b singlehtml $(srcdir) $(builddir)/_build $(sphinxopts)
pages: $(rst_sources)
@$(sphinxbuild) -b html $(srcdir) $(builddir)/_build2 $(sphinxopts)
EXTRA_DIST = $(rst_sources)
# TODO: here should ba added some stuff for DIST, etc to be consumed by automake/autoconf
# TODO: here should be added some stuff for DIST, etc to be consumed by automake/autoconf
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment