From 7daf0144f4809b8f27d56d49d3a61ca67d77ead1 Mon Sep 17 00:00:00 2001 From: Julian Andres Klode Date: Sat, 22 Feb 2014 20:32:48 +0100 Subject: debian/rules: Do not run dh_sphinxdoc -a Running dh_sphinxdoc -a causes the build to FTBFS on buildds, because the sphinx documentation is not built. Only run dh_sphinxdoc if we are building the sphinx documentation. --- debian/rules | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'debian') diff --git a/debian/rules b/debian/rules index 37366324..3ceeb205 100755 --- a/debian/rules +++ b/debian/rules @@ -15,6 +15,11 @@ override_dh_install: dh_movefiles dh_install +override_dh_sphinxdoc: + set -e; if [ -z $(filter -a,$(DH_INTERNAL_OPTIONS)) ]; then \ + dh_sphinxdoc; \ + fi + override_dh_installdocs: set -e; if [ -z $(filter -a,$(DH_INTERNAL_OPTIONS)) ]; then \ python setup.py build_sphinx; \ -- cgit v1.2.3