summaryrefslogtreecommitdiffstats
path: root/Doc
diff options
context:
space:
mode:
authorChristophe Nanteuil <35002064+christopheNan@users.noreply.github.com>2023-01-31 13:29:29 (GMT)
committerGitHub <noreply@github.com>2023-01-31 13:29:29 (GMT)
commit1a62ae84c687791bc1dfb54d1eb75e1c7277bb04 (patch)
treecbd4b6f7ea028cf35e225b504d6dc0fe8b9baac1 /Doc
parent29a858b85f4c6479474b8d82c8995bde1166352b (diff)
downloadcpython-1a62ae84c687791bc1dfb54d1eb75e1c7277bb04.zip
cpython-1a62ae84c687791bc1dfb54d1eb75e1c7277bb04.tar.gz
cpython-1a62ae84c687791bc1dfb54d1eb75e1c7277bb04.tar.bz2
Add JOBS parameter to docs Makefile (#101395)
Diffstat (limited to 'Doc')
-rw-r--r--Doc/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/Doc/Makefile b/Doc/Makefile
index 3d484ac..ebe7f36 100644
--- a/Doc/Makefile
+++ b/Doc/Makefile
@@ -9,6 +9,7 @@ VENVDIR = ./venv
SPHINXBUILD = PATH=$(VENVDIR)/bin:$$PATH sphinx-build
SPHINXLINT = PATH=$(VENVDIR)/bin:$$PATH sphinx-lint
BLURB = PATH=$(VENVDIR)/bin:$$PATH blurb
+JOBS = auto
PAPER =
SOURCES =
DISTVERSION = $(shell $(PYTHON) tools/extensions/patchlevel.py)
@@ -18,7 +19,7 @@ SPHINXERRORHANDLING = -W
PAPEROPT_a4 = -D latex_elements.papersize=a4paper
PAPEROPT_letter = -D latex_elements.papersize=letterpaper
-ALLSPHINXOPTS = -b $(BUILDER) -d build/doctrees $(PAPEROPT_$(PAPER)) -j auto \
+ALLSPHINXOPTS = -b $(BUILDER) -d build/doctrees $(PAPEROPT_$(PAPER)) -j $(JOBS) \
$(SPHINXOPTS) $(SPHINXERRORHANDLING) . build/$(BUILDER) $(SOURCES)
.PHONY: help