git.iko.soy/typeable/servant
on orphan-instances help sign in
22 lines 890 B history raw
1# Minimal makefile for Sphinx documentation
2#
4# You can set these variables from the command line.
5SPHINXOPTS =
6SPHINXBUILD = sphinx-build
7SPHINXPROJ = Servant
8SOURCEDIR = .
9BUILDDIR = _build
11# Put it first so that "make" without argument is like "make help".
12help:
13 @if [ ! -d venv ]; then echo "WARNING: There is no venv directory, did you forget to 'virtualenv venv'. Check building-the-docs file."; fi
14 @if [ ! "z$$(which $(SPHINXBUILD))" = "z$$(pwd)/venv/bin/sphinx-build" ]; then echo "WARNING: Did you forgot to 'source venv/bin/activate'"; fi
15 @$(SPHINXBUILD) -M help "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O)
17.PHONY: help Makefile
19# Catch-all target: route all unknown targets to Sphinx using the new
20# "make mode" option. $(O) is meant as a shortcut for $(SPHINXOPTS).
21%: Makefile
22 @$(SPHINXBUILD) -M $@ "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O)