mirror of
https://github.com/python/cpython.git
synced 2025-09-22 16:33:26 +00:00
Add JOBS parameter to docs Makefile (#101395)
This commit is contained in:
parent
29a858b85f
commit
1a62ae84c6
1 changed files with 2 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue