]> git.donarmstrong.com Git - debhelper.git/commitdiff
dh_installdocs: Warn if a doc-base file cannot be parsed to find a document id. Close...
authorJoey Hess <joey@gnu.kitenet.net>
Thu, 12 Nov 2009 18:30:14 +0000 (13:30 -0500)
committerJoey Hess <joey@gnu.kitenet.net>
Thu, 12 Nov 2009 18:30:14 +0000 (13:30 -0500)
debian/changelog
dh_installdocs

index 012d7030219fdea5e32a6b02ef9d567d5d59c1df..4b756b8dc68a67634fe70ef58ba417921f1cc17f 100644 (file)
@@ -18,6 +18,8 @@ debhelper (7.4.4) UNRELEASED; urgency=low
     Closes: #548382
   * Adjust code to add deprecation warning for compatability level 4.
     (Man page already said it was deprecated.) Closes: #555899
+  * dh_installdocs: Warn if a doc-base file cannot be parsed to find a
+    document id. Closes: #555677
 
  -- Joey Hess <joeyh@debian.org>  Wed, 28 Oct 2009 18:10:45 -0400
 
index d8ebe62e7c8ce984aac007fc30ad26e1197e22ba..5f4abfdb1bb4aec6fc0832ea9bb62bf51625c6c9 100755 (executable)
@@ -280,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);