From e920c289a79f217a615d132ad7912872cc4f994c Mon Sep 17 00:00:00 2001 From: Simon McVittie Date: Mon, 24 Jan 2022 09:51:23 +0000 Subject: [PATCH] Use debhelper 11 features instead of dh-exec Since compat level 11, man pages installed by the upstream build system can be listed in d/*.manpages and will automatically be excluded under the nodoc build-profile. --- debian/ostree.install | 3 --- debian/ostree.manpages | 1 + 2 files changed, 1 insertion(+), 3 deletions(-) mode change 100755 => 100644 debian/ostree.install create mode 100644 debian/ostree.manpages diff --git a/debian/ostree.install b/debian/ostree.install old mode 100755 new mode 100644 index c686947f..21d3e5e1 --- a/debian/ostree.install +++ b/debian/ostree.install @@ -1,8 +1,5 @@ -#!/usr/bin/dh-exec - etc/ostree usr/bin/ostree usr/bin/rofiles-fuse usr/share/bash-completion/completions/ostree -usr/share/man usr/share/ostree/trusted.gpg.d diff --git a/debian/ostree.manpages b/debian/ostree.manpages new file mode 100644 index 00000000..918f873b --- /dev/null +++ b/debian/ostree.manpages @@ -0,0 +1 @@ +usr/share/man/man?/*