aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaxime Dénès2020-03-10 08:56:05 +0100
committerMaxime Dénès2020-03-10 08:56:53 +0100
commit6ee44b62d0a858a2c298c9cdfefe29c583d51a00 (patch)
tree59571692195dc49b8c870bca65a095e5c21e23f3
parent7d3b46c53430afd3c85b827fe1814202de3399a6 (diff)
Disable parallel build of Sphinx documentation
We are using some Sphinx extensions that are not safe w.r.t. parallel reaading.
-rw-r--r--Makefile.doc5
1 files changed, 3 insertions, 2 deletions
diff --git a/Makefile.doc b/Makefile.doc
index 1249555cd7..5aa1ae9850 100644
--- a/Makefile.doc
+++ b/Makefile.doc
@@ -38,10 +38,11 @@ SPHINXENV:=COQBIN="$(CURDIR)/bin/" COQLIB="$(WIN_CURDIR)"
else
SPHINXENV:=COQBIN="$(CURDIR)/bin/" COQLIB="$(CURDIR)"
endif
-SPHINXOPTS= -j4
SPHINXWARNERROR ?= 1
ifeq ($(SPHINXWARNERROR),1)
-SPHINXOPTS += -W
+SPHINXOPTS= -W
+else
+SPHINXOPTS=
endif
SPHINXBUILD= sphinx-build
SPHINXBUILDDIR= doc/sphinx/_build