From 4e3fd5d6e9d5aa94a23a12739bee41a26a17797b Mon Sep 17 00:00:00 2001 From: Niels Thykier Date: Tue, 1 Sep 2015 08:52:40 +0200 Subject: dh_install: Read d/not-installed with --list-missing Signed-off-by: Niels Thykier --- dh_install | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'dh_install') diff --git a/dh_install b/dh_install index 7f8391e7..9c8d23cb 100755 --- a/dh_install +++ b/dh_install @@ -55,6 +55,15 @@ itself, with no explicit destination, then B will automatically guess the destination to use, the same as if the --autodest option were used. +=item debian/not-installed + +List the files that are deliberately not installed in any package. +This is used with B<--list-missing> (or B<--fail-missing>) as an +exclude file. + +Please keep in mind that dh_install will B expand wildcards in +this file. + =back =head1 OPTIONS @@ -229,6 +238,10 @@ if ($dh{LIST_MISSING} || $dh{FAIL_MISSING}) { } my @missing; + if ( -f 'debian/not-installed') { + # Pretend that these are also installed. + push(@installed, filearray('debian/not-installed')); + } my $installed=join("|", map { # Kill any extra slashes, for robustness. y:/:/:s; -- cgit v1.2.3