| 1 |
# Minimal makefile for Sphinx documentation |
| 2 |
# |
| 3 |
|
| 4 |
# You can set these variables from the command line. |
| 5 |
SPHINXOPTS = |
| 6 |
SPHINXBUILD = sphinx-build |
| 7 |
SPHINXPROJ = dill |
| 8 |
SOURCEDIR = source |
| 9 |
BUILDDIR = build |
| 10 |
|
| 11 |
# Internal variables |
| 12 |
ALLSPHINXOPTS = $(SPHINXOPTS) $(SOURCEDIR) |
| 13 |
|
| 14 |
# Put it first so that "make" without argument is like "make help". |
| 15 |
help: |
| 16 |
@echo "Please use \`make html' to generate standalone HTML files" |
| 17 |
|
| 18 |
.PHONY: help clean html Makefile |
| 19 |
|
| 20 |
clean: |
| 21 |
-rm -rf $(BUILDDIR) |
| 22 |
|
| 23 |
html: |
| 24 |
$(SPHINXBUILD) -b html $(ALLSPHINXOPTS) $(BUILDDIR) |
| 25 |
-rm -f $(BUILDDIR)/../../scripts/_*py |
| 26 |
-rm -f $(BUILDDIR)/../../scripts/_*pyc |
| 27 |
-rm -rf $(BUILDDIR)/../../scripts/__pycache__ |
| 28 |
|