From: Antonio Ospite Date: Fri, 2 Mar 2018 22:02:18 +0000 (+0100) Subject: debian/libam7xxx0.1-doc.*: additional doc is now installed in the main package X-Git-Tag: debian/0.1.7-1~6 X-Git-Url: https://git.ao2.it/libam7xxx.git/commitdiff_plain/a5535274f9f32b3556c2d0ff4248f102570f15d1 debian/libam7xxx0.1-doc.*: additional doc is now installed in the main package debhelper >= 11 installs the files provide by the documentation package in /usr/share/doc/main-package as recommended by the Debian policy manual 3.9.7 in S12.3. Adjust the paths in the lintian overrides and most importantly in the .doc-base references to fix the following lintian errors caused by the new behavior: E: libam7xxx0.1-doc: doc-base-file-references-missing-file libam7xxx:9 /usr/share/doc/libam7xxx0.1-doc/html/index.html N: N: One of the files referenced in an Index or Files field in this doc-base N: control file does not exist in the package. The doc-base control files N: should be installed by the package that provides the documents they are N: registering. N: N: Severity: important, Certainty: certain N: N: Check: menus, Type: binary N: E: libam7xxx0.1-doc: doc-base-file-references-missing-file libam7xxx:10 /usr/share/doc/libam7xxx0.1-doc/html/*.html --- diff --git a/debian/libam7xxx0.1-doc.doc-base b/debian/libam7xxx0.1-doc.doc-base index bca236e..cafaaee 100644 --- a/debian/libam7xxx0.1-doc.doc-base +++ b/debian/libam7xxx0.1-doc.doc-base @@ -6,5 +6,5 @@ Abstract: This manual describes the API of libam7xxx, an open source driver Section: Programming Format: HTML -Index: /usr/share/doc/libam7xxx0.1-doc/html/index.html -Files: /usr/share/doc/libam7xxx0.1-doc/html/*.html +Index: /usr/share/doc/libam7xxx0.1/html/index.html +Files: /usr/share/doc/libam7xxx0.1/html/*.html diff --git a/debian/libam7xxx0.1-doc.lintian-overrides b/debian/libam7xxx0.1-doc.lintian-overrides index 86dc9dd..7b1c7c2 100644 --- a/debian/libam7xxx0.1-doc.lintian-overrides +++ b/debian/libam7xxx0.1-doc.lintian-overrides @@ -1,5 +1,5 @@ # These are derived from how doxygen works, we are masking them so to have # less noise when running lintian -libam7xxx0.1-doc: duplicate-files usr/share/doc/libam7xxx0.1-doc/html/search/all_1.js usr/share/doc/libam7xxx0.1-doc/html/search/pages_0.js -libam7xxx0.1-doc: duplicate-files usr/share/doc/libam7xxx0.1-doc/html/search/all_2.js usr/share/doc/libam7xxx0.1-doc/html/search/variables_0.js +libam7xxx0.1-doc: duplicate-files usr/share/doc/libam7xxx0.1/html/search/all_1.js usr/share/doc/libam7xxx0.1/html/search/pages_0.js +libam7xxx0.1-doc: duplicate-files usr/share/doc/libam7xxx0.1/html/search/all_2.js usr/share/doc/libam7xxx0.1/html/search/variables_0.js libam7xxx0.1-doc: embedded-javascript-library usr/share/doc/libam7xxx0.1-doc/html/jquery.js please use libjs-jquery