From ccf070fc03a0a43c9b936c3d019347deacded3b2 Mon Sep 17 00:00:00 2001 From: Thomas Kemmer Date: Sat, 20 Feb 2016 06:41:04 +0100 Subject: [PATCH] Fix #4: Add docs to distribution. --- docs/Makefile.am | 19 +++++++++++-------- docs/requirements.txt | 1 + 2 files changed, 12 insertions(+), 8 deletions(-) diff --git a/docs/Makefile.am b/docs/Makefile.am index 6385f68..c79f35a 100644 --- a/docs/Makefile.am +++ b/docs/Makefile.am @@ -1,17 +1,20 @@ # Makefile for Sphinx documentation -SPHINXOPTS = -SPHINXBUILD = sphinx-build -PAPER = -BUILDDIR = build -DOXYGEN = doxygen +EXTRA_DIST = Doxyfile conf.py index.rst requirements.txt + +# TODO: detect programs by autoconf +BUILDDIR = build +DOXYGEN = doxygen +PAPER = +SPHINXBUILD = sphinx-build +SPHINXOPTS = # Internal variables. -PAPEROPT_a4 = -D latex_paper_size=a4 +PAPEROPT_a4 = -D latex_paper_size=a4 PAPEROPT_letter = -D latex_paper_size=letter -ALLSPHINXOPTS = -d $(BUILDDIR)/doctrees $(PAPEROPT_$(PAPER)) $(SPHINXOPTS) . +ALLSPHINXOPTS = -d $(BUILDDIR)/doctrees $(PAPEROPT_$(PAPER)) $(SPHINXOPTS) . # the i18n builder cannot share the environment and doctrees with the others -I18NSPHINXOPTS = $(PAPEROPT_$(PAPER)) $(SPHINXOPTS) . +I18NSPHINXOPTS = $(PAPEROPT_$(PAPER)) $(SPHINXOPTS) . clean-local: rm -rf $(BUILDDIR) doxyxml diff --git a/docs/requirements.txt b/docs/requirements.txt index cd6467e..a8ed941 100644 --- a/docs/requirements.txt +++ b/docs/requirements.txt @@ -1 +1,2 @@ breathe +sphinx