2021-11-21 04:22:41 +00:00
|
|
|
export SPHINXOPTS =
|
|
|
|
export SPHINXBUILD = "sphinx-build"
|
|
|
|
export SOURCEDIR = "source"
|
|
|
|
export BUILDDIR = "build"
|
2021-11-17 20:26:00 +00:00
|
|
|
|
|
|
|
export LATEXMKOPTS ?= ""
|
|
|
|
export LATEXOPTS ?= "-interaction=nonstopmode"
|
2021-10-29 02:00:21 +00:00
|
|
|
|
|
|
|
# Put it first so that "make" without argument is like "make help".
|
|
|
|
help:
|
2021-11-21 04:22:41 +00:00
|
|
|
@$(SPHINXBUILD) -M help "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS)
|
2021-10-29 02:00:21 +00:00
|
|
|
|
2021-11-01 21:19:43 +00:00
|
|
|
|
|
|
|
livehtml:
|
2021-11-21 04:22:41 +00:00
|
|
|
sphinx-autobuild "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS)
|
2021-11-01 21:19:43 +00:00
|
|
|
|
|
|
|
|
2021-10-29 02:00:21 +00:00
|
|
|
.PHONY: help Makefile
|
|
|
|
|
|
|
|
# Catch-all target: route all unknown targets to Sphinx using the new
|
|
|
|
# "make mode" option. $(O) is meant as a shortcut for $(SPHINXOPTS).
|
|
|
|
%: Makefile
|
2021-11-21 04:22:41 +00:00
|
|
|
@$(SPHINXBUILD) -M $@ "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS)
|
2022-12-11 14:38:04 +00:00
|
|
|
|
|
|
|
# remake
|