summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorNed Batchelder <ned@nedbatchelder.com>2015-01-17 14:59:44 -0500
committerNed Batchelder <ned@nedbatchelder.com>2015-01-17 14:59:44 -0500
commita13742532a3a283f2e690256d38fe5c9ffcf2049 (patch)
treeb4bf03ba4efc42b8cc3525d73daf473e6cdce727 /Makefile
parente80f5f8fbc370a49040f020f90982ca73767c9fd (diff)
downloadpython-coveragepy-git-a13742532a3a283f2e690256d38fe5c9ffcf2049.tar.gz
Split the requirements file so we don't try to install pyenchant for running tests.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile9
1 files changed, 6 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index 6afb718e..94af5346 100644
--- a/Makefile
+++ b/Makefile
@@ -80,17 +80,20 @@ SPHINXBUILD = sphinx-build
SPHINXOPTS = -a -E doc
WEBHOME = ~/web/stellated/pages/code/coverage
-px:
+docreqs:
+ pip install -r doc/requirements.txt
+
+px: docreqs
$(SPHINXBUILD) -b px $(SPHINXOPTS) doc/_build/px
rm doc/_build/px/search.px
python doc/_ext/px_cleaner.py doc/_build/px/*.px
-dochtml:
+dochtml: docreqs
$(SPHINXBUILD) -b html $(SPHINXOPTS) doc/_build/html
@echo
@echo "Build finished. The HTML pages are in doc/_build/html."
-docspell:
+docspell: docreqs
$(SPHINXBUILD) -b spelling $(SPHINXOPTS) doc/_spell
publish: px