Skip to content

Commit 3439817

Browse files
committed
Place the Makefile variables under their appropriate comments
1 parent 41f3831 commit 3439817

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

Makefile

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,16 @@
11
# Makefile for Sphinx documentation
2-
32
SHELL = bash
43
.DEFAULT_GOAL = all
54

65
# You can set these variables from the command line.
7-
SPHINXOPTS =
6+
SPHINXOPTS ?=
7+
PAPER ?=
8+
9+
# Internal variables.
810
SPHINXBUILD = $(realpath bin/sphinx-build)
911
SPHINXAUTOBUILD = $(realpath bin/sphinx-autobuild)
10-
PAPER =
1112
DOCS_DIR = ./docs/
1213
BUILDDIR = ../_build/
13-
14-
# Internal variables.
1514
PAPEROPT_a4 = -D latex_paper_size=a4
1615
PAPEROPT_letter = -D latex_paper_size=letter
1716
ALLSPHINXOPTS = -d $(BUILDDIR)/doctrees $(PAPEROPT_$(PAPER)) $(SPHINXOPTS) .

0 commit comments

Comments
 (0)