summaryrefslogtreecommitdiff
path: root/debian/rules
diff options
context:
space:
mode:
authorPer Andersson <avtobiff@gmail.com>2014-02-14 01:11:14 +0100
committerPer Andersson <avtobiff@gmail.com>2014-02-14 01:11:14 +0100
commit933d944dfd52b9514e186f07095084db22613dd3 (patch)
tree8c899d1cdc7a37ceef7afe96268d620ce323193f /debian/rules
parente9485f193ec8a2aaff09284c7cafbaed1dc62d41 (diff)
downloadpython-bleach-debian/1.4-1.tar
python-bleach-debian/1.4-1.tar.gz
Add common doc packagedebian/1.4-1
Diffstat (limited to 'debian/rules')
-rwxr-xr-xdebian/rules6
1 files changed, 5 insertions, 1 deletions
diff --git a/debian/rules b/debian/rules
index e6f8559..480b2cd 100755
--- a/debian/rules
+++ b/debian/rules
@@ -3,7 +3,11 @@
export PYBUILD_NAME=bleach
%:
- dh $@ --with python2,python3 --buildsystem=pybuild
+ dh $@ --with python2,python3,sphinxdoc --buildsystem=pybuild
+
+override_dh_auto_build:
+ dh_auto_build -O--buildsystem=pybuild
+ PYTHONPATH=. http_proxy='localhost' sphinx-build -N -bhtml docs/ build/html
override_dh_auto_test:
nosetests