summaryrefslogtreecommitdiff
path: root/dh_missing
diff options
context:
space:
mode:
Diffstat (limited to 'dh_missing')
-rwxr-xr-xdh_missing5
1 files changed, 5 insertions, 0 deletions
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;
}