summaryrefslogtreecommitdiffstats
path: root/Documentation
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2023-08-21 13:08:00 -0600
committerMartin L Roth <gaumless@gmail.com>2023-09-03 22:33:11 +0000
commit7de2fa3c7fabd2ff02e261c66f09c5e2ff989c07 (patch)
tree8ed7c00d4d8ac2d12119d65c13076f6936fb1916 /Documentation
parentc0986a4b9fc10bb7f397eca62b8824977244e99a (diff)
downloadcoreboot-7de2fa3c7fabd2ff02e261c66f09c5e2ff989c07.tar.gz
coreboot-7de2fa3c7fabd2ff02e261c66f09c5e2ff989c07.tar.bz2
coreboot-7de2fa3c7fabd2ff02e261c66f09c5e2ff989c07.zip
docs: Build in parallel
Use all available cores to speed up building the documentation. As $(SPHINXOPTS) has no default in `Makefile.sphinx`, we can communicate it to all sub-makes via `export`. Change-Id: I25996f17348505722f3489a15a975de620331b5a Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Nico Huber <nico.h@gmx.de> Original-reviewed-on: https://review.coreboot.org/c/coreboot/+/77363 Reviewed-on: https://review.coreboot.org/c/coreboot/+/77452 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Martin L Roth <gaumless@gmail.com>
Diffstat (limited to 'Documentation')
-rw-r--r--Documentation/Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/Documentation/Makefile b/Documentation/Makefile
index 54306a278cb2..4d08c932b411 100644
--- a/Documentation/Makefile
+++ b/Documentation/Makefile
@@ -6,6 +6,9 @@
PDFLATEX = pdflatex -t a4
BUILDDIR ?= _build
+SPHINXOPTS ?= -j auto
+
+export SPHINXOPTS
FIGS=codeflow.pdf hypertransport.pdf
@@ -57,7 +60,7 @@ distclean: clean
rm -f corebootPortingGuide.pdf
livesphinx: $(BUILDDIR)
- $(MAKE) -f Makefile.sphinx livehtml SPHINXOPTS="$(SPHINXOPTS)" BUILDDIR="$(BUILDDIR)"
+ $(MAKE) -f Makefile.sphinx livehtml BUILDDIR="$(BUILDDIR)"
test:
@echo "Test for logging purposes - Failing tests will not fail the build"