* dh_desktop: Clarify in man page why it's a no-op.
Closes: #543364
+ * dh_installdocs: Loosen the Document field parsing, to accept
+ everything doc-base *really* accepts in a doc id (not just what
+ it's documented to accept). Closes: #543499
-- Joey Hess <joeyh@debian.org> Mon, 24 Aug 2009 12:59:02 -0400
# Parse the file to get the doc id.
open (IN, "debian/$fn") || die "Cannot read debian/$fn.";
while (<IN>) {
- if (/^Document:\s+([-+.a-z0-9]+)/) {
+ s/\s*$//;
+ if (/^Document\s*:\s*(.*)/) {
$doc_ids{$fn}=$1;
last;
}