Skip to content

Commit

Permalink
Add -j auto to the Makefile. (#1220)
Browse files Browse the repository at this point in the history
* Add `-j auto` to the Makefile.

* One option per line.

Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>

---------

Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
  • Loading branch information
ezio-melotti and hugovk committed Nov 29, 2023
1 parent a9aaedf commit 7e9a415
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -4,19 +4,22 @@
# 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) \
-j $(JOBS) \
$(PAPEROPT_$(PAPER)) \
$(SPHINXOPTS) \
. $(BUILDDIR)/$(BUILDER)

.PHONY: help
Expand Down

0 comments on commit 7e9a415

Please sign in to comment.