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