summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorloic <loic@dachary.org>2016-12-13 23:16:35 +0100
committerloic <loic@dachary.org>2016-12-13 23:16:35 +0100
commit1c939db36c5e580482d26937bded5e95c9c495a5 (patch)
treeca2d3dc7dd9c4008dc64285313d5dc17e9219005
parent3af5826fd7f21fb5d2338b2783e2f84dd750596b (diff)
downloadpython-coveragepy-1c939db36c5e580482d26937bded5e95c9c495a5.tar.gz
add PYTHONPATH to dochtml target #523issue-523
So that sphinx-build can import the coverage modules when needed by autoclass and autofunction.
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index e2f228b..eb2434c 100644
--- a/Makefile
+++ b/Makefile
@@ -98,7 +98,7 @@ docreqs:
pip install -r doc/requirements.pip
dochtml:
- $(SPHINXBUILD) -b html $(SPHINXOPTS) doc/_build/html
+ PYTHONPATH=$(CURDIR) $(SPHINXBUILD) -b html $(SPHINXOPTS) doc/_build/html
@echo
@echo "Build finished. The HTML pages are in doc/_build/html."