From 8c69e49565f6de23d1e5d254097a83789001cbde Mon Sep 17 00:00:00 2001 From: Niels Thykier Date: Sat, 30 Dec 2017 18:18:39 +0000 Subject: dh_missing: Make --list-missing the default in c12 Closes: nthykier/debhelper#2 Closes: Debian#650129 Closes: Debian#858834 Signed-off-by: Niels Thykier --- dh_missing | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'dh_missing') diff --git a/dh_missing b/dh_missing index 5d5c0f9b..4dd9043d 100755 --- a/dh_missing +++ b/dh_missing @@ -60,6 +60,8 @@ Warn on stderr about source files not installed to somewhere. Note that files that are excluded from being moved via the B<-X> option are not warned about. +This is the default in compat 12 and later. + =item B<--fail-missing> This option is like B<--list-missing>, except if a file was missed, it will @@ -80,6 +82,9 @@ my (@installed, %helpers); my $srcdir = '.'; $srcdir = $dh{SOURCEDIR} if defined $dh{SOURCEDIR}; +# --list-missing is the default in compat 12+ +$dh{LIST_MISSING} = 1 if !$dh{FAIL_MISSING} && !compat(11); + if (!$dh{LIST_MISSING} && !$dh{FAIL_MISSING}) { exit 0; } -- cgit v1.2.3