Move Pod::Perldoc from lib to ext.
authorNicholas Clark <nick@ccl4.org>
Sat, 12 Sep 2009 21:34:14 +0000 (22:34 +0100)
committerNicholas Clark <nick@ccl4.org>
Sun, 13 Sep 2009 07:26:07 +0000 (08:26 +0100)
19 files changed:
MANIFEST
Porting/Maintainers.pl
ext/.gitignore
ext/Pod-Perldoc/lib/Pod/Perldoc.pm [moved from lib/Pod/Perldoc.pm with 100% similarity]
ext/Pod-Perldoc/lib/Pod/Perldoc/BaseTo.pm [moved from lib/Pod/Perldoc/BaseTo.pm with 100% similarity]
ext/Pod-Perldoc/lib/Pod/Perldoc/GetOptsOO.pm [moved from lib/Pod/Perldoc/GetOptsOO.pm with 100% similarity]
ext/Pod-Perldoc/lib/Pod/Perldoc/ToChecker.pm [moved from lib/Pod/Perldoc/ToChecker.pm with 100% similarity]
ext/Pod-Perldoc/lib/Pod/Perldoc/ToMan.pm [moved from lib/Pod/Perldoc/ToMan.pm with 100% similarity]
ext/Pod-Perldoc/lib/Pod/Perldoc/ToNroff.pm [moved from lib/Pod/Perldoc/ToNroff.pm with 100% similarity]
ext/Pod-Perldoc/lib/Pod/Perldoc/ToPod.pm [moved from lib/Pod/Perldoc/ToPod.pm with 100% similarity]
ext/Pod-Perldoc/lib/Pod/Perldoc/ToRtf.pm [moved from lib/Pod/Perldoc/ToRtf.pm with 100% similarity]
ext/Pod-Perldoc/lib/Pod/Perldoc/ToText.pm [moved from lib/Pod/Perldoc/ToText.pm with 100% similarity]
ext/Pod-Perldoc/lib/Pod/Perldoc/ToTk.pm [moved from lib/Pod/Perldoc/ToTk.pm with 100% similarity]
ext/Pod-Perldoc/lib/Pod/Perldoc/ToXml.pm [moved from lib/Pod/Perldoc/ToXml.pm with 100% similarity]
ext/Pod-Perldoc/t/01_about_verbose.t [moved from lib/Pod/Perldoc/t/01_about_verbose.t with 100% similarity]
ext/Pod-Perldoc/t/checkerbasic.t [moved from lib/Pod/Perldoc/t/checkerbasic.t with 100% similarity]
ext/Pod-Perldoc/t/perldocbasic.t [moved from lib/Pod/Perldoc/t/perldocbasic.t with 100% similarity]
ext/Pod-Perldoc/t/textbasic.t [moved from lib/Pod/Perldoc/t/textbasic.t with 100% similarity]
lib/.gitignore

index 52fe9bb..f7f13a0 100644 (file)
--- a/MANIFEST
+++ b/MANIFEST
@@ -2026,6 +2026,21 @@ ext/PerlIO-via/hints/aix.pl      Hint for PerlIO::via for named architecture
 ext/PerlIO-via/t/via.t         See if PerlIO::via works
 ext/PerlIO-via/via.pm          PerlIO layer for layers in perl
 ext/PerlIO-via/via.xs          PerlIO layer for layers in perl
+ext/Pod-Perldoc/lib/Pod/Perldoc/BaseTo.pm      utility module for perldoc
+ext/Pod-Perldoc/lib/Pod/Perldoc/GetOptsOO.pm   options parsing for perldoc
+ext/Pod-Perldoc/lib/Pod/Perldoc.pm             guts of the 'perldoc' utility
+ext/Pod-Perldoc/lib/Pod/Perldoc/ToChecker.pm   let perldoc check POD for errors
+ext/Pod-Perldoc/lib/Pod/Perldoc/ToMan.pm       render POD as man pages
+ext/Pod-Perldoc/lib/Pod/Perldoc/ToNroff.pm     convert POD to nroff
+ext/Pod-Perldoc/lib/Pod/Perldoc/ToPod.pm       convert POD to POD
+ext/Pod-Perldoc/lib/Pod/Perldoc/ToRtf.pm       convert POD to RTF
+ext/Pod-Perldoc/lib/Pod/Perldoc/ToText.pm      convert POD to plain text
+ext/Pod-Perldoc/lib/Pod/Perldoc/ToTk.pm                convert POD via Tk::Pod
+ext/Pod-Perldoc/lib/Pod/Perldoc/ToXml.pm       convert POD to XML
+ext/Pod-Perldoc/t/01_about_verbose.t           test Pod::Perldoc
+ext/Pod-Perldoc/t/checkerbasic.t               test Pod::Perldoc::ToChecker
+ext/Pod-Perldoc/t/perldocbasic.t               test Pod::Perldoc basic operation
+ext/Pod-Perldoc/t/textbasic.t                  test Pod::Perldoc::ToText
 ext/Pod-Plainer/Plainer.pm     Pod migration utility module
 ext/Pod-Plainer/t/plainer.t    Test Pod::Plainer
 ext/Pod-Simple/ChangeLog                               Pod::Simple ChangeLog
@@ -3222,21 +3237,6 @@ lib/Pod/Man.pm                   Convert POD data to *roff
 lib/Pod/ParseLink.pm           Perl an L<> formatting code in POD text
 lib/Pod/Parser.pm              Pod-Parser - define base class for parsing POD
 lib/Pod/ParseUtils.pm          Pod-Parser - pod utility functions
-lib/Pod/Perldoc/BaseTo.pm      utility module for perldoc
-lib/Pod/Perldoc/GetOptsOO.pm   options parsing for perldoc
-lib/Pod/Perldoc.pm             guts of the 'perldoc' utility
-lib/Pod/Perldoc/t/01_about_verbose.t   test Pod::Perldoc
-lib/Pod/Perldoc/t/checkerbasic.t       test Pod::Perldoc::ToChecker
-lib/Pod/Perldoc/ToChecker.pm   let perldoc check POD for errors
-lib/Pod/Perldoc/ToMan.pm       render POD as man pages
-lib/Pod/Perldoc/ToNroff.pm     convert POD to nroff
-lib/Pod/Perldoc/ToPod.pm       convert POD to POD
-lib/Pod/Perldoc/ToRtf.pm       convert POD to RTF
-lib/Pod/Perldoc/ToText.pm      convert POD to plain text
-lib/Pod/Perldoc/ToTk.pm                convert POD via Tk::Pod
-lib/Pod/Perldoc/ToXml.pm       convert POD to XML
-lib/Pod/Perldoc/t/perldocbasic.t       test Pod::Perldoc basic operation
-lib/Pod/Perldoc/t/textbasic.t  test Pod::Perldoc::ToText
 lib/Pod/PlainText.pm           Convert POD data to formatted ASCII text
 lib/Pod/Select.pm              Pod-Parser - select portions of POD docs
 lib/Pod/t/basic.cap            podlators test
index 080cc9e..03775e8 100755 (executable)
@@ -1328,16 +1328,18 @@ use File::Glob qw(:case);
        {
        'MAINTAINER'    => 'ferreira',
        'DISTRIBUTION'  => 'FERREIRA/Pod-Perldoc-3.15.tar.gz',
-       'FILES'         => q[lib/Pod/Perldoc.pm
-                            lib/Pod/Perldoc
+       # I don't know whether it's conceptually cleaner to a rule to copy
+       # ext/Pod-Perldoc/pod/perldoc.pod to pod/perldoc.pod at make time
+       # (in 4 places), or leave it as 1 mapping here.
+       'FILES'         => q[ext/Pod-Perldoc
                             pod/perldoc.pod
                            ],
        # in blead, the perldoc executable is generated by perldoc.PL
        # instead
-       
+       # XXX We can and should fix this, but clean up the DRY-failure in utils
+       # first
        'EXCLUDED'      => [ qw( perldoc ) ],
        'MAP'           => { 'lib/perldoc.pod' => 'pod/perldoc.pod',
-                            't/'              => 'lib/Pod/Perldoc/t/',
                           },
        'CPAN'          => 1,
        'UPSTREAM'      => undef,
index 1f51711..86b2a1b 100644 (file)
@@ -73,6 +73,7 @@ ppport.h
 /PerlIO-encoding/Makefile.PL
 /PerlIO-scalar/Makefile.PL
 /PerlIO-via/Makefile.PL
+/Pod-Perldoc/Makefile.PL
 /Pod-Plainer/Makefile.PL
 /Pod-Simple/Makefile.PL
 /SelfLoader/Makefile.PL
index 0a53951..6f6861c 100644 (file)
 /Parse/CPAN/Meta.pm
 /POSIX.pm
 /POSIX.pod
+/Pod/Perldoc.pm
+/Pod/Perldoc
 /Pod/Plainer.pm
 /Pod/Simple.pm
 /Pod/Simple.pod