blob: 841af2cb04e310812ae464f639702766e9cbfcac (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
# Minimal makefile for Sphinx documentation
SPHINXOPTS =
SPHINXBUILD = sphinx-build
SOURCEDIR = .
AUTOSOURCEDIR = $(SOURCEDIR)/modules
BUILDDIR = _build
# Put this first so that "make" without argument is like "make help".
help:
@$(SPHINXBUILD) -M help "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O)
.PHONY: help all clean-apidoc Makefile
all: clean clean-apidoc html
clean-apidoc:
rm -rf "$(AUTOSOURCEDIR)"
# Catch-all target: route all unknown targets to Sphinx builder
%: Makefile
@$(SPHINXBUILD) -M $@ "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O)
# E.g: sphinx-build -M html . _build
|