Skip to content

Commit

Permalink
Add -j auto to the Makefile.
Browse files Browse the repository at this point in the history
  • Loading branch information
ezio-melotti committed Nov 15, 2023
1 parent 339cb89 commit 79d3da9
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -4,19 +4,21 @@
# You can set these variables from the command line.
PYTHON = python3
VENVDIR = ./venv
BUILDDIR = _build
SPHINXOPTS = -W --keep-going
SPHINXBUILD = $(VENVDIR)/bin/sphinx-build
SPHINXOPTS = -W --keep-going
BUILDDIR = _build
BUILDER = html
SPHINXLINT = $(VENVDIR)/bin/sphinx-lint
JOBS = auto
PAPER =
SPHINXLINT = $(VENVDIR)/bin/sphinx-lint

# Internal variables.
PAPEROPT_a4 = -D latex_paper_size=a4
PAPEROPT_letter = -D latex_paper_size=letter
ALLSPHINXOPTS = -b $(BUILDER) \
-d $(BUILDDIR)/doctrees \
$(PAPEROPT_$(PAPER)) $(SPHINXOPTS) \
$(PAPEROPT_$(PAPER)) \
-j $(JOBS) $(SPHINXOPTS) \
. $(BUILDDIR)/$(BUILDER)

.PHONY: help
Expand Down

0 comments on commit 79d3da9

Please sign in to comment.