Subject: | Add new Module::Build->new() configuration variable: man1ext |
Module::Build uses hardcoded manpage extension *.1p at:
grep -B 2 -rn man1ext /usr/share/perl/5.14.2/Module
/usr/share/perl/5.14.2/Module/Build/Base.pm-3249- my $parser =
Pod::Man->new( section => '1p' ); # binaries go in section 1p
/usr/share/perl/5.14.2/Module/Build/Base.pm-3250- my $manpage =
$self->man1page_name( $file ) . '.' .
/usr/share/perl/5.14.2/Module/Build/Base.pm:3251: $self-
Show quoted text
>config( 'man1ext' );
However, the Build.PL can be used also for software that does not
consist solely of Perl Modules, but standard scripts. For this, it is
desirable to be able to specify different manual page extension; files
in /usr/bin/ files and their *.1 manual pages.
Please add new configuration variable 'man1ext' to the new() method'
input hash and pass it to the call mentioned above:
section => $man1ext # the configuration variable's value