summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrej Shadura <andrewsh@debian.org>2018-12-21 23:41:48 +0100
committerAndrej Shadura <andrewsh@debian.org>2018-12-21 23:51:51 +0100
commitd902d395b2ae28ddab4e2a31f8f85ef90fdd113e (patch)
treea57b360fbe387ef2bc9cc76bd7ec26d16d1c7777
parentff1ff5cb415bd22621485ace118b0ffa24582402 (diff)
Set PYTHONPATH when building docs
-rwxr-xr-xdebian/rules2
1 files changed, 1 insertions, 1 deletions
diff --git a/debian/rules b/debian/rules
index 92767b2..983e7d3 100755
--- a/debian/rules
+++ b/debian/rules
@@ -6,7 +6,7 @@ export PYBUILD_NAME=treq
dh $@ --with sphinxdoc,python2,python3 --buildsystem=pybuild
override_dh_auto_build:
- $(MAKE) -C docs html
+ $(MAKE) -C docs html PYTHONPATH=$(CURDIR)/src
dh_auto_build
override_dh_auto_test: