From: Joey Hess Date: Thu, 12 Nov 2009 18:30:14 +0000 (-0500) Subject: dh_installdocs: Warn if a doc-base file cannot be parsed to find a document id. Close... X-Git-Tag: 7.4.4~13 X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;ds=sidebyside;h=1aeccc3f0723a2d9a4fd38752258b82d060cd663;p=debhelper.git dh_installdocs: Warn if a doc-base file cannot be parsed to find a document id. Closes: #555677 --- diff --git a/debian/changelog b/debian/changelog index 012d703..4b756b8 100644 --- a/debian/changelog +++ b/debian/changelog @@ -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 Wed, 28 Oct 2009 18:10:45 -0400 diff --git a/dh_installdocs b/dh_installdocs index d8ebe62..5f4abfd 100755 --- a/dh_installdocs +++ b/dh_installdocs @@ -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);