summaryrefslogtreecommitdiff
path: root/debian
diff options
context:
space:
mode:
authorJulian Andres Klode <jak@debian.org>2014-01-26 00:37:34 +0100
committerJulian Andres Klode <jak@debian.org>2014-01-26 00:37:34 +0100
commite8a92cc40e35c8ab95bd70caf6fa813564b235b1 (patch)
treecc1d59a3daca0a25f76b617fd136bc4c773d7b46 /debian
parent8f2f04f080334b21b455c6e00199b4c095e1181d (diff)
downloadpython-apt-e8a92cc40e35c8ab95bd70caf6fa813564b235b1.tar.gz
debian/rules: Use dh_sphinxdoc integration
This ensures that we do not include JavaScript from Sphinx in our binary package. Adjust debian/control to include the dependencies created by dh_sphinxdoc.
Diffstat (limited to 'debian')
-rw-r--r--debian/control2
-rwxr-xr-xdebian/rules2
2 files changed, 2 insertions, 2 deletions
diff --git a/debian/control b/debian/control
index 5992884c..4bc26ff3 100644
--- a/debian/control
+++ b/debian/control
@@ -76,7 +76,7 @@ Package: python-apt-doc
Priority: optional
Architecture: all
Section: doc
-Depends: libjs-jquery, libjs-underscore, ${misc:Depends}
+Depends: libjs-jquery, libjs-underscore, ${misc:Depends}, ${sphinxdoc:Depends}
Enhances: python-apt
Replaces: python-apt (<< 0.7.94)
Description: Python interface to libapt-pkg (API documentation)
diff --git a/debian/rules b/debian/rules
index 4a33c533..37366324 100755
--- a/debian/rules
+++ b/debian/rules
@@ -6,7 +6,7 @@ export PATH := $(CURDIR)/utils:$(PATH)
export pyversions := $(CURDIR)/utils/pyversions
%:
- dh $@ --with python2,python3
+ dh $@ --with python2,python3,sphinxdoc
override_dh_auto_build:
dh_auto_build