Debian Codegraph @

docs/Makefile

raw symbols SCIP
1 # Minimal makefile for Sphinx documentation
2 #
3
4 # You can set these variables from the command line, and also
5 # from the environment for the first two.
6 SPHINXOPTS ?=
7 SPHINXBUILD ?= sphinx-build
8 SOURCEDIR = source
9 BUILDDIR = ../src/pynauty/docs
10
11 # Put it first so that "make" without argument is like "make help".
12 help:
13 @$(MODULE_TEST) sphinx "In order to build the docmentation you need to have the Sphinx package installed".
14 @$(SPHINXBUILD) -M help "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O)
15
16 # pynauty's own clean to avoid unnecessary call to MODULE_TEST
17 clean:
18 rm -fr $(BUILDDIR)
19
20 .PHONY: help Makefile
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 @$(MODULE_TEST) sphinx "In order to build the documentation you need to have the Sphinx package installed".
26 @$(SPHINXBUILD) -M $@ "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O)