Is there some reason why this bug remains open for such long
time?  Recommended practice[1] is for packages providing online
documentation to register such with doc-base.

dh handles this automatically if the above control file is installed
as `debian/aptitude-doc-en.doc-base'.

This patch on the current debian branch produces a package
with the desired results.  Also closes #323844 which is a duplicate
of this bug.

# dpkg -i ../aptitude-doc-en_0.6.4-1_all.deb
Selecting previously deselected package aptitude-doc-en.
(Reading database ... 42060 files and directories currently installed.)
Unpacking aptitude-doc-en (from .../aptitude-doc-en_0.6.4-1_all.deb) ...
Setting up aptitude-doc-en (0.6.4-1) ...
Processing triggers for doc-base ...
Processing 1 added doc-base file...
Registering documents with dhelp...

[1] http://www.debian.org/doc/debian-policy/ch-opersys.html#s-doc-base

---
 debian/aptitude-doc-en.doc-base |    9 +++++++++
 1 files changed, 9 insertions(+), 0 deletions(-)
 create mode 100644 debian/aptitude-doc-en.doc-base

diff --git a/debian/aptitude-doc-en.doc-base b/debian/aptitude-doc-en.doc-base
new file mode 100644
index 0000000..603d2c5
--- /dev/null
+++ b/debian/aptitude-doc-en.doc-base
@@ -0,0 +1,9 @@
+Document: aptitude-doc-en
+Title: Aptitude User's Manual (English)
+Author: Daniel Burrows
+Abstract: This manual describes the usage of the aptitude package manager.
+Section: System/Package Management
+
+Format: HTML
+Index: /usr/share/doc/aptitude/html/en/index.html
+Files: /usr/share/doc/aptitude/html/en/*.html
-- 
1.7.2.5



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to