8
8
SPHINXOPTS = ${SPHINX_WARNINGS} -q
10
SPHINX_BUILDDIR = ${abs_top_builddir}/docs
10
SPHINX_BUILDDIR = ${abs_srcdir}/docs
12
12
# Internal variables.
13
13
PAPEROPT_a4 = -D latex_paper_size=a4
14
14
PAPEROPT_letter = -D latex_paper_size=letter
15
ALLSPHINXOPTS = $(PAPEROPT_$(PAPER)) $(SPHINXOPTS) $(SPHINX_BUILDDIR)
15
ALLSPHINXOPTS = -c $(top_builddir)/docs $(PAPEROPT_$(PAPER)) $(SPHINXOPTS) $(SPHINX_BUILDDIR)
17
17
.PHONY: clean-docs-check
19
-rm -rf docs/_build docs/doctrees man/.doctrees/
19
-rm -rf docs/_build docs/doctrees man/.doctrees
21
21
.PHONY: help clean html dirhtml singlehtml pickle json htmlhelp qthelp devhelp epub latex latexpdf text man changes linkcheck doctest
25
@echo "Please use \`make <target>' where <target> is one of"
26
@echo " html to make standalone HTML files"
27
@echo " singlehtml to make a single large HTML file"
28
@echo " pickle to make pickle files"
29
@echo " json to make JSON files"
30
@echo " htmlhelp to make HTML files and a HTML help project"
31
@echo " qthelp to make HTML files and a qthelp project"
32
@echo " devhelp to make HTML files and a Devhelp project"
33
@echo " epub to make an epub"
34
@echo " latex to make LaTeX files, you can set PAPER=a4 or PAPER=letter"
35
@echo " latexpdf to make LaTeX files and run them through pdflatex"
36
@echo " text to make text files"
37
@echo " man to make manual pages"
38
@echo " changes to make an overview of all changed/added/deprecated items"
39
@echo " linkcheck to check all external links for integrity"
40
@echo " doctest to run all doctests embedded in the documentation (if enabled)"
24
@PYTHONPATH=$(SPHINX_BUILDDIR)/docs $(SPHINXBUILD) -b man $(ALLSPHINXOPTS) ${top_builddir}/man
42
26
install-html-local: html-local
43
27
@$(MKDIR_P) $(htmldir)/html