doc: disable parallel build

Sphinx is not designed to be run in parallel and exhibits filesystem race
conditions if it is. Disable parallel build.

Signed-off-by: Quentin Young <qlyoung@cumulusnetworks.com>
This commit is contained in:
Quentin Young 2018-03-09 11:11:04 -05:00
parent e7cc2122de
commit 8c60fed743
No known key found for this signature in database
GPG Key ID: DAF48E0F57E0834F
2 changed files with 7 additions and 0 deletions

View File

@ -9,6 +9,10 @@
# Note the absence of the 'developer' directory here; development docs are
# never built as part of a regular build. They are only built when explicitly
# asked for. See comment further down.
# Sphinx is not designed to be invoked multiple times against the same toctree.
.NOTPARALLEL:
SUBDIRS = manpages user
AM_MAKEFLAGS = DESTDIR=${DESTDIR} infodir=${infodir} doczdir=${abs_srcdir}

View File

@ -1,6 +1,9 @@
# Makefile for Sphinx documentation
#
# Sphinx is not designed to be invoked multiple times against the same toctree.
.NOTPARALLEL:
# You can set these variables from the command line.
SPHINXOPTS ?=
SPHINXBUILD ?= sphinx-build