2017-01-13 19:32:27 +00:00
|
|
|
# Minimal makefile for Sphinx documentation
|
|
|
|
#
|
|
|
|
|
|
|
|
# You can set these variables from the command line.
|
2017-09-19 15:14:27 +00:00
|
|
|
SPHINXOPTS = -j $(CPUS) -n -w rst_warnings
|
2017-01-13 19:32:27 +00:00
|
|
|
SPHINXBUILD = sphinx-build
|
|
|
|
SPHINXPROJ = sdfsdf
|
2017-01-13 22:20:40 +00:00
|
|
|
SOURCEDIR = rst
|
2017-01-13 19:32:27 +00:00
|
|
|
BUILDDIR = _build
|
|
|
|
|
|
|
|
# Put it first so that "make" without argument is like "make help".
|
|
|
|
help:
|
2017-01-13 22:20:40 +00:00
|
|
|
$(SPHINXBUILD) -M help "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O)
|
2017-01-13 19:32:27 +00:00
|
|
|
|
|
|
|
.PHONY: help Makefile.sphinx
|
|
|
|
|
|
|
|
# Catch-all target: route all unknown targets to Sphinx using the new
|
|
|
|
# "make mode" option. $(O) is meant as a shortcut for $(SPHINXOPTS).
|
|
|
|
%: Makefile.sphinx
|
2017-09-19 15:14:27 +00:00
|
|
|
$(SPHINXBUILD) -M $@ "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O)
|