diff options
Diffstat (limited to 'lib/spack/docs/Makefile')
-rw-r--r-- | lib/spack/docs/Makefile | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/spack/docs/Makefile b/lib/spack/docs/Makefile index 1b56959aad..bcba423d94 100644 --- a/lib/spack/docs/Makefile +++ b/lib/spack/docs/Makefile @@ -3,7 +3,8 @@ # You can set these variables from the command line. SPHINXOPTS = -E -SPHINXBUILD = sphinx-build +JOBS ?= $(shell python -c 'import multiprocessing; print multiprocessing.cpu_count()') +SPHINXBUILD = sphinx-build -j $(JOBS) PAPER = BUILDDIR = _build |