Oops, the separate make invocation to build the documentation is
unnecessary, updated patch below.

diff --git a/debian/control b/debian/control
index ede50cf..4331982 100644
--- a/debian/control
+++ b/debian/control
@@ -23,7 +23,7 @@ Package: bugs-everywhere
 Architecture: all
 Depends:
     python-yaml, python-jinja2,
-    ${python:Depends}, ${misc:Depends}
+    ${python:Depends}, ${misc:Depends}, ${sphinxdoc:Depends}
 Provides: ${python:Provides}
 Recommends:
     bzr |
diff --git a/debian/docs b/debian/docs
index eb9b151..f5b94e6 100644
--- a/debian/docs
+++ b/debian/docs
@@ -1,3 +1,4 @@
 NEWS
 README
 AUTHORS
+doc/.build/html/
diff --git a/debian/rules b/debian/rules
index a5c1395..f524792 100755
--- a/debian/rules
+++ b/debian/rules
@@ -11,7 +11,7 @@
 # See the file ‘/usr/share/common-licenses/GPL-2’ for details.
 
 %:
-	dh $@ --with=python2
+	dh $@ --with=python2 --with=sphinxdoc
 
 override_dh_auto_install:
 	dh_auto_install -- INSTALL_OPTIONS="--install-layout=deb --root=$(CURDIR)/debian/bugs-everywhere --prefix=/usr" LIBBE_VERSION=
diff --git a/doc/conf.py b/doc/conf.py
index 75b9031..050fcf1 100644
--- a/doc/conf.py
+++ b/doc/conf.py
@@ -176,6 +176,7 @@ html_static_path = ['.static']
 # Output file base name for HTML help builder.
 htmlhelp_basename = 'bugs-everywheredoc'
 
+html_copy_source = False
 
 # -- Options for LaTeX output --------------------------------------------------
 

Reply via email to