]> git.puffer.fish Git - mirror/frr.git/commitdiff
doc: disable parallel build
authorQuentin Young <qlyoung@cumulusnetworks.com>
Fri, 9 Mar 2018 16:11:04 +0000 (11:11 -0500)
committerQuentin Young <qlyoung@cumulusnetworks.com>
Fri, 9 Mar 2018 16:11:04 +0000 (11:11 -0500)
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>
doc/Makefile.am
doc/frr-sphinx.mk

index caa909d50d014c358a0aa29ab41878393dc3e005..aeabc0981dbb1ed09a03ab3f0cbc48c48b30bb0c 100644 (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}
 
index f5aca7a65512a8c2578bc2560caa3fa0b5e03b44..3d91e8f63dcb5acb06bc72a4f8912d584a9c96ab 100644 (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