mirror of
https://github.com/python-pillow/Pillow.git
synced 2025-09-25 13:36:58 +03:00
Use '--jobs auto' for all builders
This commit is contained in:
parent
84d728978f
commit
0d2e1dd17d
|
@ -5,9 +5,10 @@
|
||||||
PYTHON = python3
|
PYTHON = python3
|
||||||
SPHINXBUILD = $(PYTHON) -m sphinx.cmd.build
|
SPHINXBUILD = $(PYTHON) -m sphinx.cmd.build
|
||||||
SPHINXOPTS = --fail-on-warning --keep-going
|
SPHINXOPTS = --fail-on-warning --keep-going
|
||||||
PAPER =
|
|
||||||
BUILDDIR = _build
|
BUILDDIR = _build
|
||||||
BUILDER = html
|
BUILDER = html
|
||||||
|
JOBS = auto
|
||||||
|
PAPER =
|
||||||
|
|
||||||
# Internal variables.
|
# Internal variables.
|
||||||
PAPEROPT_a4 = --define latex_paper_size=a4
|
PAPEROPT_a4 = --define latex_paper_size=a4
|
||||||
|
@ -15,6 +16,7 @@ PAPEROPT_letter = --define latex_paper_size=letter
|
||||||
|
|
||||||
ALLSPHINXOPTS = --builder $(BUILDER) \
|
ALLSPHINXOPTS = --builder $(BUILDER) \
|
||||||
--doctree-dir $(BUILDDIR)/doctrees \
|
--doctree-dir $(BUILDDIR)/doctrees \
|
||||||
|
--jobs $(JOBS) \
|
||||||
$(PAPEROPT_$(PAPER)) \
|
$(PAPEROPT_$(PAPER)) \
|
||||||
$(SPHINXOPTS) \
|
$(SPHINXOPTS) \
|
||||||
. $(BUILDDIR)/$(BUILDER)
|
. $(BUILDDIR)/$(BUILDER)
|
||||||
|
@ -58,7 +60,7 @@ singlehtml:
|
||||||
linkcheck: BUILDER = linkcheck
|
linkcheck: BUILDER = linkcheck
|
||||||
linkcheck:
|
linkcheck:
|
||||||
$(MAKE) install-sphinx
|
$(MAKE) install-sphinx
|
||||||
$(SPHINXBUILD) $(ALLSPHINXOPTS) -j auto
|
$(SPHINXBUILD) $(ALLSPHINXOPTS)
|
||||||
@echo
|
@echo
|
||||||
@echo "Link check complete; look for any errors in the above output " \
|
@echo "Link check complete; look for any errors in the above output " \
|
||||||
"or in $(BUILDDIR)/linkcheck/output.txt."
|
"or in $(BUILDDIR)/linkcheck/output.txt."
|
||||||
|
|
Loading…
Reference in New Issue
Block a user