mirror of https://github.com/python/cpython
Add JOBS parameter to docs Makefile (#101395)
This commit is contained in:
parent
29a858b85f
commit
1a62ae84c6
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue