From: Tomek Mrugalski Date: Wed, 12 Jun 2019 18:31:06 +0000 (+0200) Subject: Added targets for PDF and multi-page HTML X-Git-Tag: Kea-1.6.1~10^2~101 X-Git-Url: http://git.ipfire.org/gitweb/gitweb.cgi?a=commitdiff_plain;h=66f51dc9b88177920d9ade7663ccd5dc3508f400;p=thirdparty%2Fkea.git Added targets for PDF and multi-page HTML - also updated -M to -b which is supported by sphinx 2.x --- diff --git a/doc/Makefile.am b/doc/Makefile.am index da65824d76..8af9ce31f6 100644 --- a/doc/Makefile.am +++ b/doc/Makefile.am @@ -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 diff --git a/doc/guide/Makefile.am b/doc/guide/Makefile.am index 755fbd24d2..d43c785d0d 100644 --- a/doc/guide/Makefile.am +++ b/doc/guide/Makefile.am @@ -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