Package: bugs-everywhere
Version: 1.1.1-3
Severity: minor
Tags: patch

Hi,

The software has documentation in the source package, under the 'doc'
directory.

Please include the documentation in the binary package. Patch below.

Thanks.


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..0b50a53 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=
@@ -30,6 +30,7 @@ show-version: $(LIBBE_VERSION)
 
 # disable generation of the metadata, hook our generation in there
 override_dh_auto_build: $(LIBBE_VERSION)
+	make -C doc html
 	dh_auto_build -- LIBBE_VERSION=
 
 # generate version file based on our generated metadata
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