Pass CPUS from top Makefile to docs Makefile

pull/20248/head
Adrian Likins 8 years ago
parent 64692e7a89
commit c0263b3020

@ -177,6 +177,7 @@ clean:
find . -type f -name '*.pyc' -delete find . -type f -name '*.pyc' -delete
@echo "Cleaning up docsite" @echo "Cleaning up docsite"
$(MAKE) -C docs/docsite clean $(MAKE) -C docs/docsite clean
$(MAKE) -C docs/api clean
python: python:
$(PYTHON) setup.py build $(PYTHON) setup.py build
@ -298,7 +299,7 @@ deb-src-upload: deb-src
# for arch or gentoo, read instructions in the appropriate 'packaging' subdirectory directory # for arch or gentoo, read instructions in the appropriate 'packaging' subdirectory directory
webdocs: webdocs:
(cd docs/docsite/; make docs) (cd docs/docsite/; CPUS=$(CPUS) make docs)
docs: $(MANPAGES) docs: $(MANPAGES)

Loading…
Cancel
Save