summaryrefslogtreecommitdiff
path: root/installman
diff options
context:
space:
mode:
authorSteve Peters <steve@fisharerojo.org>2006-01-05 14:33:16 +0000
committerSteve Peters <steve@fisharerojo.org>2006-01-05 14:33:16 +0000
commit571afc3fc130121663e0cb56810289ae2e02725e (patch)
tree01af8ebbf1d3822acfa675e08513d804d5e35772 /installman
parentaeb8b986a1665673ee977bbacc4401c792f66cd1 (diff)
downloadperl-571afc3fc130121663e0cb56810289ae2e02725e.tar.gz
Change installman to instantiate a new Pod::Man instance for each
file processed. This is now required with podlators-2.0. p4raw-id: //depot/perl@26656
Diffstat (limited to 'installman')
-rwxr-xr-xinstallman4
1 files changed, 4 insertions, 0 deletions
diff --git a/installman b/installman
index c736a9eea4..689b41b148 100755
--- a/installman
+++ b/installman
@@ -187,6 +187,10 @@ sub pod2man {
foreach my $page (@to_process) {
my($pod, $tmp, $manpage) = @$page;
+ my $parser = Pod::Man->new( section => $manext,
+ official=> 1,
+ center => 'Perl Programmers Reference Guide'
+ );
my $xmanpage = $manpage;
$xmanpage =~ s/^\Q$opts{'destdir'}\E// if $opts{'destdir'};
print " $xmanpage\n";