Skip to content

Commit 7e9a415

Browse files
ezio-melottihugovk
andauthored
Add -j auto to the Makefile. (#1220)
* Add `-j auto` to the Makefile. * One option per line. Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com> --------- Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
1 parent a9aaedf commit 7e9a415

File tree

1 file changed

+7
-4
lines changed

1 file changed

+7
-4
lines changed

Makefile

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,19 +4,22 @@
44
# You can set these variables from the command line.
55
PYTHON = python3
66
VENVDIR = ./venv
7-
BUILDDIR = _build
8-
SPHINXOPTS = -W --keep-going
97
SPHINXBUILD = $(VENVDIR)/bin/sphinx-build
8+
SPHINXOPTS = -W --keep-going
9+
BUILDDIR = _build
1010
BUILDER = html
11-
SPHINXLINT = $(VENVDIR)/bin/sphinx-lint
11+
JOBS = auto
1212
PAPER =
13+
SPHINXLINT = $(VENVDIR)/bin/sphinx-lint
1314

1415
# Internal variables.
1516
PAPEROPT_a4 = -D latex_paper_size=a4
1617
PAPEROPT_letter = -D latex_paper_size=letter
1718
ALLSPHINXOPTS = -b $(BUILDER) \
1819
-d $(BUILDDIR)/doctrees \
19-
$(PAPEROPT_$(PAPER)) $(SPHINXOPTS) \
20+
-j $(JOBS) \
21+
$(PAPEROPT_$(PAPER)) \
22+
$(SPHINXOPTS) \
2023
. $(BUILDDIR)/$(BUILDER)
2124

2225
.PHONY: help

0 commit comments

Comments
 (0)