Debian Codegraph @

doc/neps/Makefile

raw
1 # Minimal makefile for Sphinx documentation
2 #
3
4 # You can set these variables from the command line.
5 SPHINXOPTS ?=
6 SPHINXBUILD ?= LANG=C sphinx-build
7
8 # Internal variables
9 SPHINXPROJ = NumPyEnhancementProposals
10 SOURCEDIR = .
11 BUILDDIR = _build
12 ALLSPHINXOPTS = -WT --keep-going -n -d $(SPHINXOPTS)
13
14 # Put it first so that "make" without argument is like "make help".
15 help:
16 @$(SPHINXBUILD) -M help "$(SOURCEDIR)" "$(BUILDDIR)" $(ALLSPHINXOPTS) $(O)
17
18 .PHONY: help Makefile index
19
20 index:
21 python3 tools/build_index.py
22
23 # Catch-all target: route all unknown targets to Sphinx using the new
24 # "make mode" option. $(O) is meant as a shortcut for $(SPHINXOPTS).
25 %: Makefile index
26 @$(SPHINXBUILD) -M $@ "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O)