summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorgregor herrmann <gregoa@debian.org>2019-07-17 15:27:53 -0300
committerDavid Bremner <bremner@debian.org>2019-08-13 08:04:39 -0300
commite2306c2307a8d1e5f3b0e75fd6ff49eb592c090c (patch)
treea21fb1f3413c00866bd9bef926bbf42965b7c431
parentef529969d93ab667269626171bdf6316bc1274e3 (diff)
install manpages into section 3
Origin: vendor Forwarded: no Last-Update: 2019-07-16 Gbp-Pq: Name 0004-manpage-section.patch
-rw-r--r--inc/MyBuilder.pm8
1 files changed, 4 insertions, 4 deletions
diff --git a/inc/MyBuilder.pm b/inc/MyBuilder.pm
index 7597bdc..6e17718 100644
--- a/inc/MyBuilder.pm
+++ b/inc/MyBuilder.pm
@@ -177,18 +177,18 @@ sub ACTION_create_manpages {
my $version = $self->notes('btparse_version');
for my $pod (@$pods) {
my $man = $pod;
- $man =~ s!.pod!.1!;
+ $man =~ s!.pod!.3!;
$man =~ s!btparse/doc!blib/bindoc!; ## FIXME - path
next if $self->up_to_date($pod, $man);
## FIXME
- `pod2man --section=1 --center="btparse" --release="btparse, version $version" $pod $man`;
+ `pod2man --section=3 --center="btparse" --release="btparse, version $version" $pod $man`;
}
my $pod = 'btool_faq.pod';
- my $man = catfile('blib','bindoc','btool_faq.1');
+ my $man = catfile('blib','bindoc','btool_faq.3');
unless ($self->up_to_date($pod, $man)) {
## FIXME
- `pod2man --section=1 --center="btparse" --release="btparse, version $version" $pod $man`;
+ `pod2man --section=3 --center="btparse" --release="btparse, version $version" $pod $man`;
}
}