]> git.donarmstrong.com Git - debhelper.git/commitdiff
r562: * Make dh_install --list-missing honor -X excludes. Closes: #168739
authorjoey <joey>
Thu, 14 Nov 2002 16:00:08 +0000 (16:00 +0000)
committerjoey <joey>
Thu, 14 Nov 2002 16:00:08 +0000 (16:00 +0000)
   * 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

debian/changelog
dh_install

index b21744d8fae3d8bf36ff6a779eb7d1ffe07ed8ea..b1be5fdf1e5ef987bdfb86e927aa26351e0bc01c 100644 (file)
@@ -1,3 +1,13 @@
+debhelper (4.1.21) unstable; urgency=low
+
+  * 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
+
+ -- Joey Hess <joeyh@debian.org>  Thu, 14 Nov 2002 10:56:21 -0500
+
 debhelper (4.1.20) unstable; urgency=low
 
   * typo in dh_shlibdeps(1), Closes: #167421
index 33f24d0635598f7d47d1abcd514aa0689f56e675..afd5a2641418bfe2360b33deb098c5307fadcc7b 100755 (executable)
@@ -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$};