From df6940030548db916503cd6afbe6592df53146ea Mon Sep 17 00:00:00 2001 From: Martin Pitt Date: Fri, 11 Oct 2024 11:52:20 +0200 Subject: [PATCH] debian: Ignore spare-manual-page lintian infos For cockpit-ws, the corresponding binaries are in /usr/libexec/, but we still want to provide documentation for administrators as they can be configured in the systemd units, or even being used directly. For the cockpit metapackage, there is indeed no "cockpit" binary, but we still want to document an overview of cockpit (in the cockpit.1 man page). --- tools/debian/cockpit-ws.lintian-overrides | 5 +++++ tools/debian/cockpit.lintian-overrides | 1 + 2 files changed, 6 insertions(+) create mode 100644 tools/debian/cockpit.lintian-overrides diff --git a/tools/debian/cockpit-ws.lintian-overrides b/tools/debian/cockpit-ws.lintian-overrides index f263b1312494..4fe118c77a94 100644 --- a/tools/debian/cockpit-ws.lintian-overrides +++ b/tools/debian/cockpit-ws.lintian-overrides @@ -4,6 +4,11 @@ cockpit-ws: font-outside-font-dir *usr/share/cockpit/static/fonts/* cockpit-ws: font-in-non-font-package *usr/share/cockpit/static/fonts/* cockpit-ws: groff-message *macro *an-trap*usr/share/man/man8/cockpit-ws.8.gz* cockpit-ws: package-contains-documentation-outside-usr-share-doc *usr/share/cockpit/*html* +# the binaries are in /usr/lib/cockpit, but we still want to document them +cockpit-ws: spare-manual-page *cockpit-desktop.* +cockpit-ws: spare-manual-page *cockpit-tls.* +cockpit-ws: spare-manual-page *cockpit-ws.* +cockpit-ws: spare-manual-page *pam_ssh_add* # triggered on demand by cockpit.service cockpit-ws: systemd-service-file-missing-install-key *cockpit-wsinstance* # triggered by cockpit.socket diff --git a/tools/debian/cockpit.lintian-overrides b/tools/debian/cockpit.lintian-overrides new file mode 100644 index 000000000000..e0e50e51fee9 --- /dev/null +++ b/tools/debian/cockpit.lintian-overrides @@ -0,0 +1 @@ +cockpit: spare-manual-page *cockpit.*