]> git.donarmstrong.com Git - debhelper.git/blobdiff - dh_installdocs
Fix build system auto-selection breakage.
[debhelper.git] / dh_installdocs
index 14bb27bbc2f3a379b1cc32282fc0ad2b1bcba991..5f4abfdb1bb4aec6fc0832ea9bb62bf51625c6c9 100755 (executable)
@@ -85,6 +85,10 @@ option will have no effect on packages with linked documentation
 directories, and copyright, changelog, README.Debian, and TODO files will
 not be installed.
 
+(An older method to accomplish the same thing, which is still supported,
+is to make the documentation directory of a package be a dangling symlink,
+before calling dh_installdocs.)
+
 =item I<file ...>
 
 Install these files as documentation into the first package acted on. (Or
@@ -276,6 +280,9 @@ foreach my $package (@{$dh{DOPACKAGES}}) {
                                last;
                        }
                }
+               if (! exists $doc_ids{$fn}) {
+                       warning("Could not parse $fn for doc-base Document id; skipping");
+               }
                close IN;
        }
        closedir(DEB);