summaryrefslogtreecommitdiff
path: root/debian/rules
diff options
context:
space:
mode:
authorJulian Andres Klode <jak@debian.org>2010-03-10 16:00:09 +0100
committerJulian Andres Klode <jak@debian.org>2010-03-10 16:00:09 +0100
commit73906071bf00e83910b4aaf9050cd3f567dc7cb7 (patch)
treed12318e4b8d6aaad835949633caf4a57aa72cfd3 /debian/rules
parent72e6ef284a460c497eec3964b0eeddbdf24a4b5a (diff)
downloadpython-apt-73906071bf00e83910b4aaf9050cd3f567dc7cb7.tar.gz
Build documentation only once on the default Python version.
Diffstat (limited to 'debian/rules')
-rwxr-xr-xdebian/rules4
1 files changed, 4 insertions, 0 deletions
diff --git a/debian/rules b/debian/rules
index 3711080c..df775322 100755
--- a/debian/rules
+++ b/debian/rules
@@ -7,6 +7,10 @@ export CFLAGS=-Wno-write-strings -DCOMPAT_0_7
%:
dh --with python-central $@
+override_dh_auto_build:
+ dh_auto_build
+ python setup.py build_sphinx
+
override_dh_installdocs:
dh_installdocs
ln -sf ../../../../javascript/jquery/jquery.js \