diff options
author | Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> | 2023-01-31 13:36:54 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-01-31 13:36:54 (GMT) |
commit | 71db9c9ea50ccba47a3c1e31334747049a68487b (patch) | |
tree | 2010aea8acac5a227129b5dd10d5e0aa56f0b720 /Doc | |
parent | f36c2729d62c90f7f667129b10f8161b1e4f5507 (diff) | |
download | cpython-71db9c9ea50ccba47a3c1e31334747049a68487b.zip cpython-71db9c9ea50ccba47a3c1e31334747049a68487b.tar.gz cpython-71db9c9ea50ccba47a3c1e31334747049a68487b.tar.bz2 |
Add JOBS parameter to docs Makefile (GH-101395)
(cherry picked from commit 1a62ae84c687791bc1dfb54d1eb75e1c7277bb04)
Co-authored-by: Christophe Nanteuil <35002064+christopheNan@users.noreply.github.com>
Diffstat (limited to 'Doc')
-rw-r--r-- | Doc/Makefile | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Doc/Makefile b/Doc/Makefile index 939498e..4188f88 100644 --- a/Doc/Makefile +++ b/Doc/Makefile @@ -8,6 +8,7 @@ PYTHON = python3 VENVDIR = ./venv SPHINXBUILD = PATH=$(VENVDIR)/bin:$$PATH sphinx-build BLURB = PATH=$(VENVDIR)/bin:$$PATH blurb +JOBS = auto PAPER = SOURCES = DISTVERSION = $(shell $(PYTHON) tools/extensions/patchlevel.py) @@ -17,7 +18,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 build html htmlhelp latex text texinfo changes linkcheck \ |