summaryrefslogtreecommitdiff
path: root/debian
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
parent72e6ef284a460c497eec3964b0eeddbdf24a4b5a (diff)
downloadpython-apt-73906071bf00e83910b4aaf9050cd3f567dc7cb7.tar.gz
Build documentation only once on the default Python version.
Diffstat (limited to 'debian')
-rw-r--r--debian/changelog1
-rwxr-xr-xdebian/rules4
2 files changed, 5 insertions, 0 deletions
diff --git a/debian/changelog b/debian/changelog
index b0e6657b..b2c1a90e 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,6 +1,7 @@
python-apt (0.7.93.4) unstable; urgency=low
* Move documentation into python-apt-doc (Closes: #572617)
+ * Build documentation only once on the default Python version.
* python/acquire-item.cc:
- Add AcquireItem.partialsize member.
* python/apt_pkgmodule.cc:
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 \