summaryrefslogtreecommitdiff
path: root/dh_install
diff options
context:
space:
mode:
authorNiels Thykier <niels@thykier.net>2015-09-01 08:52:40 +0200
committerNiels Thykier <niels@thykier.net>2015-09-01 08:52:40 +0200
commit4e3fd5d6e9d5aa94a23a12739bee41a26a17797b (patch)
tree30fa0ef1cd508b9f96420d7289cf7ba2e58509b3 /dh_install
parent2c3ac22e826079f28d5676c3d86a8b8e9a4ec6e7 (diff)
dh_install: Read d/not-installed with --list-missing
Signed-off-by: Niels Thykier <niels@thykier.net>
Diffstat (limited to 'dh_install')
-rwxr-xr-xdh_install13
1 files changed, 13 insertions, 0 deletions
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<dh_install>
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<not> 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;