From: Chris Williams Date: Sat, 12 Sep 2009 09:45:31 +0000 (+0100) Subject: Moved AutoLoader from lib/ to ext/ X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=4677aef710c292706460adb42ae4c5704ccecc56;p=p5sagit%2Fp5-mst-13.2.git Moved AutoLoader from lib/ to ext/ --- diff --git a/MANIFEST b/MANIFEST index 29f16e3..bbad138 100644 --- a/MANIFEST +++ b/MANIFEST @@ -191,6 +191,10 @@ ext/autodie/t/user-context.t autodie - Context changes for usersubs ext/autodie/t/usersub.t autodie - user subroutine tests ext/autodie/t/version.t autodie - versioning tests ext/autodie/t/version_tag.t +ext/AutoLoader/lib/AutoLoader.pm Autoloader base class +ext/AutoLoader/lib/AutoSplit.pm Split up autoload functions +ext/AutoLoader/t/01AutoLoader.t See if AutoLoader works +ext/AutoLoader/t/02AutoSplit.t See if AutoSplit works ext/autouse/lib/autouse.pm Load and call a function only when it's used ext/autouse/t/autouse.t See if autouse works ext/base/Changes base.pm changelog @@ -2765,10 +2769,6 @@ lib/abbrev.pl An abbreviation table builder lib/AnyDBM_File.pm Perl module to emulate dbmopen lib/AnyDBM_File.t See if AnyDBM_File works lib/assert.pl assertion and panic with stack trace -lib/AutoLoader.pm Autoloader base class -lib/AutoLoader/t/01AutoLoader.t See if AutoLoader works -lib/AutoLoader/t/02AutoSplit.t See if AutoSplit works -lib/AutoSplit.pm Split up autoload functions lib/Benchmark.pm Measure execution time lib/Benchmark.t See if Benchmark works lib/bigfloat.pl An arbitrary precision floating point package diff --git a/Porting/Maintainers.pl b/Porting/Maintainers.pl index 87656f4..dd52b54 100755 --- a/Porting/Maintainers.pl +++ b/Porting/Maintainers.pl @@ -236,7 +236,7 @@ use File::Glob qw(:case); { 'MAINTAINER' => 'smueller', 'DISTRIBUTION' => 'SMUELLER/AutoLoader-5.69.tar.gz', - 'FILES' => q[lib/AutoLoader.pm lib/AutoSplit.pm lib/AutoLoader], + 'FILES' => q[ext/AutoLoader.pm], 'EXCLUDED' => [ qw( t/00pod.t ) ], 'CPAN' => 1, 'UPSTREAM' => "cpan", diff --git a/ext/.gitignore b/ext/.gitignore index 690756c..aec8dd4 100644 --- a/ext/.gitignore +++ b/ext/.gitignore @@ -16,6 +16,7 @@ ppport.h /Attribute-Handlers/Makefile.PL /attributes/Makefile.PL /autodie/Makefile.PL +/AutoLoader/Makefile.PL /autouse/Makefile.PL /base/Makefile.PL /bignum/Makefile.PL diff --git a/lib/AutoLoader.pm b/ext/AutoLoader/lib/AutoLoader.pm similarity index 100% rename from lib/AutoLoader.pm rename to ext/AutoLoader/lib/AutoLoader.pm diff --git a/lib/AutoSplit.pm b/ext/AutoLoader/lib/AutoSplit.pm similarity index 100% rename from lib/AutoSplit.pm rename to ext/AutoLoader/lib/AutoSplit.pm diff --git a/lib/AutoLoader/t/01AutoLoader.t b/ext/AutoLoader/t/01AutoLoader.t similarity index 99% rename from lib/AutoLoader/t/01AutoLoader.t rename to ext/AutoLoader/t/01AutoLoader.t index 09a1425..dcee5c5 100644 --- a/lib/AutoLoader/t/01AutoLoader.t +++ b/ext/AutoLoader/t/01AutoLoader.t @@ -3,7 +3,7 @@ BEGIN { if ($ENV{PERL_CORE}) { chdir 't' if -d 't'; - @INC = '../lib'; + #@INC = '../lib'; } } diff --git a/lib/AutoLoader/t/02AutoSplit.t b/ext/AutoLoader/t/02AutoSplit.t similarity index 100% rename from lib/AutoLoader/t/02AutoSplit.t rename to ext/AutoLoader/t/02AutoSplit.t diff --git a/lib/.gitignore b/lib/.gitignore index ab6d831..f819bf5 100644 --- a/lib/.gitignore +++ b/lib/.gitignore @@ -3,6 +3,8 @@ /Archive/Tar/Constant.pm /Archive/Tar/File.pm /Attribute +/AutoLoader.pm +/AutoSplit.pl /autodie /autodie.pm /autouse.pm diff --git a/make_ext.pl b/make_ext.pl index f88c208..795b7e5 100644 --- a/make_ext.pl +++ b/make_ext.pl @@ -14,7 +14,7 @@ use Cwd; my @toolchain = qw(ext/constant/lib ext/ExtUtils-Command/lib ext/ExtUtils-Install/lib ext/ExtUtils-MakeMaker/lib ext/ExtUtils-Manifest/lib ext/Text-ParseWords/lib - ext/File-Path/lib); + ext/File-Path/lib ext/AutoLoader/lib); # This script acts as a simple interface for building extensions.