From: Nicholas Clark Date: Sat, 12 Sep 2009 21:34:14 +0000 (+0100) Subject: Move Pod::Perldoc from lib to ext. X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=e5833079aa4f6224797302925c72d129b795ef95;p=p5sagit%2Fp5-mst-13.2.git Move Pod::Perldoc from lib to ext. --- diff --git a/MANIFEST b/MANIFEST index 52fe9bb..f7f13a0 100644 --- 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 diff --git a/Porting/Maintainers.pl b/Porting/Maintainers.pl index 080cc9e..03775e8 100755 --- a/Porting/Maintainers.pl +++ b/Porting/Maintainers.pl @@ -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, diff --git a/ext/.gitignore b/ext/.gitignore index 1f51711..86b2a1b 100644 --- a/ext/.gitignore +++ b/ext/.gitignore @@ -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 diff --git a/lib/Pod/Perldoc.pm b/ext/Pod-Perldoc/lib/Pod/Perldoc.pm similarity index 100% rename from lib/Pod/Perldoc.pm rename to ext/Pod-Perldoc/lib/Pod/Perldoc.pm diff --git a/lib/Pod/Perldoc/BaseTo.pm b/ext/Pod-Perldoc/lib/Pod/Perldoc/BaseTo.pm similarity index 100% rename from lib/Pod/Perldoc/BaseTo.pm rename to ext/Pod-Perldoc/lib/Pod/Perldoc/BaseTo.pm diff --git a/lib/Pod/Perldoc/GetOptsOO.pm b/ext/Pod-Perldoc/lib/Pod/Perldoc/GetOptsOO.pm similarity index 100% rename from lib/Pod/Perldoc/GetOptsOO.pm rename to ext/Pod-Perldoc/lib/Pod/Perldoc/GetOptsOO.pm diff --git a/lib/Pod/Perldoc/ToChecker.pm b/ext/Pod-Perldoc/lib/Pod/Perldoc/ToChecker.pm similarity index 100% rename from lib/Pod/Perldoc/ToChecker.pm rename to ext/Pod-Perldoc/lib/Pod/Perldoc/ToChecker.pm diff --git a/lib/Pod/Perldoc/ToMan.pm b/ext/Pod-Perldoc/lib/Pod/Perldoc/ToMan.pm similarity index 100% rename from lib/Pod/Perldoc/ToMan.pm rename to ext/Pod-Perldoc/lib/Pod/Perldoc/ToMan.pm diff --git a/lib/Pod/Perldoc/ToNroff.pm b/ext/Pod-Perldoc/lib/Pod/Perldoc/ToNroff.pm similarity index 100% rename from lib/Pod/Perldoc/ToNroff.pm rename to ext/Pod-Perldoc/lib/Pod/Perldoc/ToNroff.pm diff --git a/lib/Pod/Perldoc/ToPod.pm b/ext/Pod-Perldoc/lib/Pod/Perldoc/ToPod.pm similarity index 100% rename from lib/Pod/Perldoc/ToPod.pm rename to ext/Pod-Perldoc/lib/Pod/Perldoc/ToPod.pm diff --git a/lib/Pod/Perldoc/ToRtf.pm b/ext/Pod-Perldoc/lib/Pod/Perldoc/ToRtf.pm similarity index 100% rename from lib/Pod/Perldoc/ToRtf.pm rename to ext/Pod-Perldoc/lib/Pod/Perldoc/ToRtf.pm diff --git a/lib/Pod/Perldoc/ToText.pm b/ext/Pod-Perldoc/lib/Pod/Perldoc/ToText.pm similarity index 100% rename from lib/Pod/Perldoc/ToText.pm rename to ext/Pod-Perldoc/lib/Pod/Perldoc/ToText.pm diff --git a/lib/Pod/Perldoc/ToTk.pm b/ext/Pod-Perldoc/lib/Pod/Perldoc/ToTk.pm similarity index 100% rename from lib/Pod/Perldoc/ToTk.pm rename to ext/Pod-Perldoc/lib/Pod/Perldoc/ToTk.pm diff --git a/lib/Pod/Perldoc/ToXml.pm b/ext/Pod-Perldoc/lib/Pod/Perldoc/ToXml.pm similarity index 100% rename from lib/Pod/Perldoc/ToXml.pm rename to ext/Pod-Perldoc/lib/Pod/Perldoc/ToXml.pm diff --git a/lib/Pod/Perldoc/t/01_about_verbose.t b/ext/Pod-Perldoc/t/01_about_verbose.t similarity index 100% rename from lib/Pod/Perldoc/t/01_about_verbose.t rename to ext/Pod-Perldoc/t/01_about_verbose.t diff --git a/lib/Pod/Perldoc/t/checkerbasic.t b/ext/Pod-Perldoc/t/checkerbasic.t similarity index 100% rename from lib/Pod/Perldoc/t/checkerbasic.t rename to ext/Pod-Perldoc/t/checkerbasic.t diff --git a/lib/Pod/Perldoc/t/perldocbasic.t b/ext/Pod-Perldoc/t/perldocbasic.t similarity index 100% rename from lib/Pod/Perldoc/t/perldocbasic.t rename to ext/Pod-Perldoc/t/perldocbasic.t diff --git a/lib/Pod/Perldoc/t/textbasic.t b/ext/Pod-Perldoc/t/textbasic.t similarity index 100% rename from lib/Pod/Perldoc/t/textbasic.t rename to ext/Pod-Perldoc/t/textbasic.t diff --git a/lib/.gitignore b/lib/.gitignore index 0a53951..6f6861c 100644 --- a/lib/.gitignore +++ b/lib/.gitignore @@ -290,6 +290,8 @@ /Parse/CPAN/Meta.pm /POSIX.pm /POSIX.pod +/Pod/Perldoc.pm +/Pod/Perldoc /Pod/Plainer.pm /Pod/Simple.pm /Pod/Simple.pod