2019-04-03 15:40:27 +08:00
|
|
|
# Minimal makefile for Sphinx documentation
|
2016-08-16 22:22:13 +08:00
|
|
|
#
|
|
|
|
|
|
|
|
# You can set these variables from the command line.
|
|
|
|
SPHINXOPTS =
|
|
|
|
SPHINXBUILD = sphinx-build
|
2019-04-03 15:40:27 +08:00
|
|
|
SOURCEDIR = source
|
|
|
|
BUILDDIR = build
|
2016-08-16 22:22:13 +08:00
|
|
|
|
2019-04-03 15:40:27 +08:00
|
|
|
# Put it first so that "make" without argument is like "make help".
|
2016-08-16 22:22:13 +08:00
|
|
|
help:
|
2019-04-03 15:40:27 +08:00
|
|
|
@$(SPHINXBUILD) -M help "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O)
|
2016-08-16 22:22:13 +08:00
|
|
|
|
2019-04-03 15:40:27 +08:00
|
|
|
.PHONY: help Makefile
|
2016-08-16 22:22:13 +08:00
|
|
|
|
2019-04-03 15:40:27 +08:00
|
|
|
# Catch-all target: route all unknown targets to Sphinx using the new
|
|
|
|
# "make mode" option. $(O) is meant as a shortcut for $(SPHINXOPTS).
|
|
|
|
%: Makefile
|
|
|
|
rm source/pyModeS*.rst source/modules.rst
|
|
|
|
sphinx-apidoc -f -e -M -o source/ ../pyModeS
|
|
|
|
@$(SPHINXBUILD) -M $@ "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O)
|