pyModeS/doc/Makefile

22 lines
768 B
Makefile
Raw Permalink Normal View History

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
2019-04-16 23:53:14 +08:00
rm -f source/pyModeS*.rst source/modules.rst
2020-05-04 07:07:02 +08:00
sphinx-apidoc -f -e -M -o source/ ../pyModeS ../pyModeS/decoder/ehs.py ../pyModeS/decoder/els.py ../pyModeS/streamer ../pyModeS/extra
2019-04-03 15:40:27 +08:00
@$(SPHINXBUILD) -M $@ "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O)