summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjoey <joey>2003-08-08 00:39:40 +0000
committerjoey <joey>2003-08-08 00:39:40 +0000
commit1b294974795510843d19adc178e936eb4f2c65bb (patch)
treeafb24f6c14768e06555cde3b41b09c3d54688a9f
parent37c6bda5a2cfb98d77ba9b480e81456ef7369f80 (diff)
downloaddebhelper-1b294974795510843d19adc178e936eb4f2c65bb.tar.gz
r1578: * dh_installman: support .TH lines with quotes. Closes: #204527version_4.1.59
-rw-r--r--debian/changelog6
-rwxr-xr-xdh_installman2
2 files changed, 7 insertions, 1 deletions
diff --git a/debian/changelog b/debian/changelog
index 0b33ce8f..f4748dd0 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,9 @@
+debhelper (4.1.59) unstable; urgency=low
+
+ * dh_installman: support .TH lines with quotes. Closes: #204527
+
+ -- Joey Hess <joeyh@debian.org> Thu, 7 Aug 2003 20:39:36 -0400
+
debhelper (4.1.58) unstable; urgency=low
* Typo, Closes: #203907
diff --git a/dh_installman b/dh_installman
index 6ee00091..84b9469a 100755
--- a/dh_installman
+++ b/dh_installman
@@ -114,7 +114,7 @@ foreach my $package (@{$dh{DOPACKAGES}}) {
open (IN, $page) or die "$page: $!";
}
while (<IN>) {
- if (/^\.TH\s+\S+\s+(\d+\S*)/) {
+ if (/^\.TH\s+\S+\s+"?(\d+\S*)"?/) {
$section=$1;
last;
}