Skip to content
Myr

Makefile

This file

Path

docs/Makefile

19 lines · 581 bytes

Last changed by

Merge branch '2.10.x'David Lordbefore adoption9550dc8

History of this file

Take it

The walk stopped after 200 commits: lines older than 793ddd4 point at it.

Merge branch '2.10.x'David Lordbefore adoption9550dc8

line 1why, one step back
1# Minimal makefile for Sphinx documentation

Merge branch '2.9-maintenance'Armin Ronacherbefore adoption793ddd4

lines 2–6why, one step back
2#
34# You can set these variables from the command line.5SPHINXOPTS =6SPHINXBUILD = sphinx-build

Merge branch '2.10.x'David Lordbefore adoption9550dc8

line 7why, one step back
7SOURCEDIR = .

Merge branch '2.9-maintenance'Armin Ronacherbefore adoption793ddd4

lines 8–9why, one step back
8BUILDDIR = _build
9

Merge branch '2.10.x'David Lordbefore adoption9550dc8

line 10why, one step back
10# Put it first so that "make" without argument is like "make help".

Merge branch '2.9-maintenance'Armin Ronacherbefore adoption793ddd4

line 11why, one step back
11help:

Merge branch '2.10.x'David Lordbefore adoption9550dc8

line 12why, one step back
12 @$(SPHINXBUILD) -M help "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O)

Merge branch '2.9-maintenance'Armin Ronacherbefore adoption793ddd4

line 13why, one step back
13

Merge branch '2.10.x'David Lordbefore adoption9550dc8

line 14why, one step back
14.PHONY: help Makefile

Merge branch '2.9-maintenance'Armin Ronacherbefore adoption793ddd4

line 15why, one step back
15

Merge branch '2.10.x'David Lordbefore adoption9550dc8

lines 16–19why, one step back
16# Catch-all target: route all unknown targets to Sphinx using the new
17# "make mode" option. $(O) is meant as a shortcut for $(SPHINXOPTS).18%: Makefile19 @$(SPHINXBUILD) -M $@ "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O)