From: Mischa POSLAWSKY Date: Wed, 28 May 2008 08:41:06 +0000 (+0000) Subject: restructure file locations X-Git-Tag: 3.20~6 X-Git-Url: http://git.shiar.nl/perl/plp/.git/commitdiff_plain/b5e0ee87251670be18b2f2fc128a4be0b25ebfb8 restructure file locations Use root directories lib/ (pm and pod) and bin/ (executable scripts). This is the common layout of modern modules, and in fact ever more expected (by Module::Build for example). --- diff --git a/MANIFEST b/MANIFEST index 5a004a8..606b53f 100644 --- a/MANIFEST +++ b/MANIFEST @@ -2,15 +2,16 @@ Changes Makefile.PL MANIFEST META.yml -PLP.pm README -plp.cgi +COPYING plp.vim -PLP/FAQ.pod -PLP/Fields.pm -PLP/Functions.pm -PLP/HowTo.pod -PLP/Tie/Delay.pm -PLP/Tie/Headers.pm -PLP/Tie/Print.pm +lib/PLP.pm +lib/PLP/Fields.pm +lib/PLP/Functions.pm +lib/PLP/Tie/Delay.pm +lib/PLP/Tie/Headers.pm +lib/PLP/Tie/Print.pm +lib/PLP/FAQ.pod +lib/PLP/HowTo.pod +bin/plp.cgi t/Functions.t diff --git a/Makefile.PL b/Makefile.PL index a9dd613..dc01c66 100644 --- a/Makefile.PL +++ b/Makefile.PL @@ -8,9 +8,9 @@ use ExtUtils::MakeMaker; WriteMakefile( NAME => 'PLP', - VERSION_FROM => 'PLP.pm', + VERSION_FROM => 'lib/PLP.pm', PREREQ_PM => {}, - ABSTRACT_FROM => 'PLP.pm', + ABSTRACT_FROM => 'lib/PLP.pm', NO_META => 1, (LICENSE => 'mit') x ($ExtUtils::MakeMaker::VERSION > 6.30), AUTHOR => 'Mischa POSLAWSKY ', diff --git a/plp.cgi b/bin/plp.cgi similarity index 100% rename from plp.cgi rename to bin/plp.cgi diff --git a/plp.fcgi b/bin/plp.fcgi similarity index 100% rename from plp.fcgi rename to bin/plp.fcgi diff --git a/PLP.pm b/lib/PLP.pm similarity index 100% rename from PLP.pm rename to lib/PLP.pm diff --git a/PLP/Backend/Apache.pm b/lib/PLP/Backend/Apache.pm similarity index 100% rename from PLP/Backend/Apache.pm rename to lib/PLP/Backend/Apache.pm diff --git a/PLP/Backend/CGI.pm b/lib/PLP/Backend/CGI.pm similarity index 100% rename from PLP/Backend/CGI.pm rename to lib/PLP/Backend/CGI.pm diff --git a/PLP/Backend/FastCGI.pm b/lib/PLP/Backend/FastCGI.pm similarity index 100% rename from PLP/Backend/FastCGI.pm rename to lib/PLP/Backend/FastCGI.pm diff --git a/PLP/FAQ.pod b/lib/PLP/FAQ.pod similarity index 100% rename from PLP/FAQ.pod rename to lib/PLP/FAQ.pod diff --git a/PLP/Fields.pm b/lib/PLP/Fields.pm similarity index 100% rename from PLP/Fields.pm rename to lib/PLP/Fields.pm diff --git a/PLP/Functions.pm b/lib/PLP/Functions.pm similarity index 100% rename from PLP/Functions.pm rename to lib/PLP/Functions.pm diff --git a/PLP/HowTo.pod b/lib/PLP/HowTo.pod similarity index 100% rename from PLP/HowTo.pod rename to lib/PLP/HowTo.pod diff --git a/PLP/Tie/Delay.pm b/lib/PLP/Tie/Delay.pm similarity index 100% rename from PLP/Tie/Delay.pm rename to lib/PLP/Tie/Delay.pm diff --git a/PLP/Tie/Headers.pm b/lib/PLP/Tie/Headers.pm similarity index 100% rename from PLP/Tie/Headers.pm rename to lib/PLP/Tie/Headers.pm diff --git a/PLP/Tie/Print.pm b/lib/PLP/Tie/Print.pm similarity index 100% rename from PLP/Tie/Print.pm rename to lib/PLP/Tie/Print.pm