r15380 - in /trunk/libmodule-build-perl: debian/changelog debian/patches/ debian/patches/man-ext debian/patches/series lib/Module/Build/Base.pm
ntyni at users.alioth.debian.org
ntyni at users.alioth.debian.org
Thu Feb 21 21:03:36 UTC 2008
Author: ntyni
Date: Thu Feb 21 21:03:35 2008
New Revision: 15380
URL: http://svn.debian.org/wsvn/?sc=1&rev=15380
Log:
+ man-ext: fix manpage extensions
Added:
trunk/libmodule-build-perl/debian/patches/
trunk/libmodule-build-perl/debian/patches/man-ext
trunk/libmodule-build-perl/debian/patches/series
Modified:
trunk/libmodule-build-perl/debian/changelog
trunk/libmodule-build-perl/lib/Module/Build/Base.pm
Modified: trunk/libmodule-build-perl/debian/changelog
URL: http://svn.debian.org/wsvn/trunk/libmodule-build-perl/debian/changelog?rev=15380&op=diff
==============================================================================
--- trunk/libmodule-build-perl/debian/changelog (original)
+++ trunk/libmodule-build-perl/debian/changelog Thu Feb 21 21:03:35 2008
@@ -36,6 +36,7 @@
* Build-depend on libextutils-parsexs-perl, libarchive-tar-perl and
libarchive-zip-perl for better test coverage.
* Manage debian/patches with quilt.
+ + man-ext: fix manpage extensions
-- Niko Tyni <ntyni at debian.org> Thu, 21 Feb 2008 22:01:57 +0200
Added: trunk/libmodule-build-perl/debian/patches/man-ext
URL: http://svn.debian.org/wsvn/trunk/libmodule-build-perl/debian/patches/man-ext?rev=15380&op=file
==============================================================================
--- trunk/libmodule-build-perl/debian/patches/man-ext (added)
+++ trunk/libmodule-build-perl/debian/patches/man-ext Thu Feb 21 21:03:35 2008
@@ -1,0 +1,22 @@
+Fix manual page extensions for Debian.
+
+--- libmodule-build-perl.orig/lib/Module/Build/Base.pm
++++ libmodule-build-perl/lib/Module/Build/Base.pm
+@@ -2537,7 +2537,7 @@
+ foreach my $file (keys %$files) {
+ # Pod::Simple based parsers only support one document per instance.
+ # This is expected to change in a future version (Pod::Simple > 3.03).
+- my $parser = Pod::Man->new( section => 1 ); # binaries go in section 1
++ my $parser = Pod::Man->new( section => '1p' ); # binaries go in section 1
+ my $manpage = $self->man1page_name( $file ) . '.' .
+ $self->config( 'man1ext' );
+ my $outfile = File::Spec->catfile($mandir, $manpage);
+@@ -2561,7 +2561,7 @@
+ while (my ($file, $relfile) = each %$files) {
+ # Pod::Simple based parsers only support one document per instance.
+ # This is expected to change in a future version (Pod::Simple > 3.03).
+- my $parser = Pod::Man->new( section => 3 ); # libraries go in section 3
++ my $parser = Pod::Man->new( section => '3pm' ); # libraries go in section 3
+ my $manpage = $self->man3page_name( $relfile ) . '.' .
+ $self->config( 'man3ext' );
+ my $outfile = File::Spec->catfile( $mandir, $manpage);
Added: trunk/libmodule-build-perl/debian/patches/series
URL: http://svn.debian.org/wsvn/trunk/libmodule-build-perl/debian/patches/series?rev=15380&op=file
==============================================================================
--- trunk/libmodule-build-perl/debian/patches/series (added)
+++ trunk/libmodule-build-perl/debian/patches/series Thu Feb 21 21:03:35 2008
@@ -1,0 +1,1 @@
+man-ext
Modified: trunk/libmodule-build-perl/lib/Module/Build/Base.pm
URL: http://svn.debian.org/wsvn/trunk/libmodule-build-perl/lib/Module/Build/Base.pm?rev=15380&op=diff
==============================================================================
--- trunk/libmodule-build-perl/lib/Module/Build/Base.pm (original)
+++ trunk/libmodule-build-perl/lib/Module/Build/Base.pm Thu Feb 21 21:03:35 2008
@@ -2537,7 +2537,7 @@
foreach my $file (keys %$files) {
# Pod::Simple based parsers only support one document per instance.
# This is expected to change in a future version (Pod::Simple > 3.03).
- my $parser = Pod::Man->new( section => '1p' ); # binaries go in section 1
+ my $parser = Pod::Man->new( section => 1 ); # binaries go in section 1
my $manpage = $self->man1page_name( $file ) . '.' .
$self->config( 'man1ext' );
my $outfile = File::Spec->catfile($mandir, $manpage);
@@ -2561,7 +2561,7 @@
while (my ($file, $relfile) = each %$files) {
# Pod::Simple based parsers only support one document per instance.
# This is expected to change in a future version (Pod::Simple > 3.03).
- my $parser = Pod::Man->new( section => '3pm' ); # libraries go in section 3
+ my $parser = Pod::Man->new( section => 3 ); # libraries go in section 3
my $manpage = $self->man3page_name( $relfile ) . '.' .
$self->config( 'man3ext' );
my $outfile = File::Spec->catfile( $mandir, $manpage);
More information about the Pkg-perl-cvs-commits
mailing list