2008-03-18 14:52:26 -05:00
|
|
|
# Makefile for Sphinx documentation
|
|
|
|
#
|
|
|
|
|
|
|
|
# You can set these variables from the command line.
|
|
|
|
SPHINXOPTS =
|
|
|
|
SPHINXBUILD = python ../sphinx-build.py
|
2014-01-11 12:36:05 -06:00
|
|
|
SPHINXPROJ = sphinx
|
|
|
|
BUILDDIR = _build
|
|
|
|
|
|
|
|
# User-friendly check for sphinx-build
|
|
|
|
ifeq ($(shell which $(SPHINXBUILD) >/dev/null 2>&1; echo $$?), 1)
|
|
|
|
$(error \
|
|
|
|
The '$(SPHINXBUILD)' command was not found. Make sure you have Sphinx \
|
|
|
|
installed, then set the SPHINXBUILD environment variable to point \
|
|
|
|
to the full path of the '$(SPHINXBUILD)' executable. Alternatively you \
|
|
|
|
can add the directory with the executable to your PATH. \
|
|
|
|
If you don't have Sphinx installed, grab it from http://sphinx-doc.org/)
|
|
|
|
endif
|
2008-03-18 14:52:26 -05:00
|
|
|
|
|
|
|
help:
|
2014-01-11 12:36:05 -06:00
|
|
|
@$(SPHINXBUILD) -M help "$(BUILDDIR)" $(SPHINXOPTS) $(O)
|
2012-12-04 21:10:15 -06:00
|
|
|
|
2014-01-11 12:36:05 -06:00
|
|
|
%:
|
|
|
|
@$(SPHINXBUILD) -M $@ "$(BUILDDIR)" $(SPHINXOPTS) $(O)
|