From e8a92cc40e35c8ab95bd70caf6fa813564b235b1 Mon Sep 17 00:00:00 2001 From: Julian Andres Klode Date: Sun, 26 Jan 2014 00:37:34 +0100 Subject: 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. --- debian/control | 2 +- debian/rules | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'debian') 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 -- cgit v1.2.3