diff options
author | joey <joey> | 2002-11-14 16:00:08 +0000 |
---|---|---|
committer | joey <joey> | 2002-11-14 16:00:08 +0000 |
commit | fb6b68f1a6c5165da08afa0185d0ce8f8c5156d1 (patch) | |
tree | 8f514b7efa30e6409552f386a7344c4430d19ed3 /dh_install | |
parent | d4d4af4fcb3f1d7f23f92b1847f8191efbb594ea (diff) | |
download | debhelper-fb6b68f1a6c5165da08afa0185d0ce8f8c5156d1.tar.gz |
r562: * Make dh_install --list-missing honor -X excludes. Closes: #168739
* As a special case, if --sourcedir is not set (so is "."), make
--list-missing look only at what is in debian/tmp. This is gross, but
people have come to depend on that behavior, and that combination has no
other sane meaning. Closes: #168751
Diffstat (limited to 'dh_install')
-rwxr-xr-x | dh_install | 8 |
1 files changed, 6 insertions, 2 deletions
@@ -79,8 +79,6 @@ you don't miss installing newly added files in new upstream releases. Note that files that are excluded from being moved via the -X option are not warned about. -You need to use the --sourcedir parameter for this one to be of much use. - =item B<--sourcedir=dir> Makes all source files be found under dir. If this is specified, it is @@ -173,6 +171,12 @@ foreach my $package (@{$dh{DOPACKAGES}}) { } if ($dh{LIST_MISSING}) { + + # . as srcdir makes no sense, so this is a special case. + if ($srcdir eq '.') { + $srcdir='debian/tmp'; + } + my @missing; my $installed=join("|", @installed); $installed=qr{^$installed$}; |