summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorloic@dachary.org <loic@dachary.org>2016-12-13 23:16:35 +0100
committerloic@dachary.org <loic@dachary.org>2016-12-13 23:16:35 +0100
commit715c1bfa2139146eb848bb69f5455f3c33b7edcb (patch)
treeed208117a6a7be6805cfd192bcedc1cc83c1eae0
parent0ab9d30c8a1f26bd9a7481a9ee14e8a02284a0cd (diff)
downloadpython-coveragepy-git-715c1bfa2139146eb848bb69f5455f3c33b7edcb.tar.gz
add PYTHONPATH to dochtml target #523
So that sphinx-build can import the coverage modules when needed by autoclass and autofunction. --HG-- branch : issue-523
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index e2f228ba..eb2434c4 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."