From bdc1965b6c876fc82eaf13cfcb0976122e67c377 Mon Sep 17 00:00:00 2001 From: Sunil Mohan Adapa Date: Thu, 9 Sep 2021 15:04:51 -0700 Subject: [PATCH] d/lintian-overrides: Add override for manual outside .../doc/ Signed-off-by: Sunil Mohan Adapa Reviewed-by: James Valleroy --- debian/freedombox-doc-en.lintian-overrides | 5 +++++ debian/freedombox-doc-es.lintian-overrides | 5 +++++ debian/freedombox.lintian-overrides | 3 +++ 3 files changed, 13 insertions(+) create mode 100644 debian/freedombox-doc-en.lintian-overrides create mode 100644 debian/freedombox-doc-es.lintian-overrides diff --git a/debian/freedombox-doc-en.lintian-overrides b/debian/freedombox-doc-en.lintian-overrides new file mode 100644 index 000000000..52c996b2e --- /dev/null +++ b/debian/freedombox-doc-en.lintian-overrides @@ -0,0 +1,5 @@ +# Debian Policy Manual, Section 12.3: Any files that are used or read by +# programs but are also useful as stand alone documentation should be installed +# elsewhere, such as under /usr/share/package/, and then included via symbolic +# links in /usr/share/doc/package. +freedombox-doc-en: package-contains-documentation-outside-usr-share-doc usr/share/freedombox/manual/* diff --git a/debian/freedombox-doc-es.lintian-overrides b/debian/freedombox-doc-es.lintian-overrides new file mode 100644 index 000000000..0078711c3 --- /dev/null +++ b/debian/freedombox-doc-es.lintian-overrides @@ -0,0 +1,5 @@ +# Debian Policy Manual, Section 12.3: Any files that are used or read by +# programs but are also useful as stand alone documentation should be installed +# elsewhere, such as under /usr/share/package/, and then included via symbolic +# links in /usr/share/doc/package. +freedombox-doc-es: package-contains-documentation-outside-usr-share-doc usr/share/freedombox/manual/* diff --git a/debian/freedombox.lintian-overrides b/debian/freedombox.lintian-overrides index b35a80e11..71564c06f 100644 --- a/debian/freedombox.lintian-overrides +++ b/debian/freedombox.lintian-overrides @@ -30,3 +30,6 @@ freedombox: relative-conffile remove-on-upgrade * # files for packages that do not provide them. FreedomBox does not support # sysvinit so no init.d equivalent is provided. freedombox: package-supports-alternative-init-but-no-init.d-script usr/lib/systemd/system/* + +# Not documentation +freedombox: package-contains-documentation-outside-usr-share-doc usr/share/plinth/static/jslicense.html