Debian Codegraph @

docs/Makefile

raw
1 # Minimal makefile for Sphinx documentation
2 #
3
4 # You can set these variables from the command line.
5 SPHINXOPTS = -W
6 SPHINXBUILD = python -msphinx
7 SPHINXPROJ = pyzipper
8 SOURCEDIR = .
9 BUILDDIR = _build
10 API_TOCTREE_DIR = api
11
12 # Put it first so that "make" without argument is like "make help".
13 help:
14 @$(SPHINXBUILD) -M help "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O)
15
16 .PHONY: help Makefile
17
18 clean_all:
19 rm -rf $(BUILDDIR)/*
20 rm -rf $(API_TOCTREE_DIR)/*
21
22 # Catch-all target: route all unknown targets to Sphinx using the new
23 # "make mode" option. $(O) is meant as a shortcut for $(SPHINXOPTS).
24 %: Makefile
25 @$(SPHINXBUILD) -M $@ "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O)