summaryrefslogtreecommitdiff
path: root/doc/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'doc/Makefile')
-rw-r--r--doc/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/doc/Makefile b/doc/Makefile
index d483f63..2cd7f7e 100644
--- a/doc/Makefile
+++ b/doc/Makefile
@@ -6,6 +6,7 @@ SPHINXOPTS =
SPHINXBUILD = sphinx-build
PAPER =
BUILDDIR = _build
+PYTHONPATH =
# Internal variables.
PAPEROPT_a4 = -D latex_paper_size=a4
@@ -138,7 +139,7 @@ features:
echo "" >> features.rst
echo ".. generated by pylint --full-documentation" >> features.rst
echo "" >> features.rst
- pylint --full-documentation >> features.rst
+ PYTHONPATH=$(PYTHONPATH) pylint --full-documentation >> features.rst
gen-examples:
chmod u+w ../examples/pylintrc