From 98be99db6ff47327a7754b282e66c6be7eb35bb6 Mon Sep 17 00:00:00 2001 From: Florian Ragwitz Date: Fri, 10 Dec 2010 23:07:32 +0100 Subject: [PATCH] Dual-life autouse --- MANIFEST | 6 +++--- Porting/Maintainers.pl | 10 ++++++++-- {ext => dist}/autouse/lib/autouse.pm | 0 {ext => dist}/autouse/t/autouse.t | 0 {ext => dist}/autouse/t/lib/MyTestModule.pm | 0 5 files changed, 11 insertions(+), 5 deletions(-) rename {ext => dist}/autouse/lib/autouse.pm (100%) rename {ext => dist}/autouse/t/autouse.t (100%) rename {ext => dist}/autouse/t/lib/MyTestModule.pm (100%) diff --git a/MANIFEST b/MANIFEST index c73dfd6..63dc5de 100644 --- a/MANIFEST +++ b/MANIFEST @@ -2620,6 +2620,9 @@ dist/Attribute-Handlers/t/constants.t Test constants and Attribute::Handlers dist/Attribute-Handlers/t/data_convert.t Test attribute data conversion dist/Attribute-Handlers/t/linerep.t See if Attribute::Handlers works dist/Attribute-Handlers/t/multi.t See if Attribute::Handlers works +dist/autouse/lib/autouse.pm Load and call a function only when it's used +dist/autouse/t/autouse.t See if autouse works +dist/autouse/t/lib/MyTestModule.pm Test module for autouse dist/base/Changes base.pm changelog dist/base/lib/base.pm Establish IS-A relationship at compile time dist/base/lib/fields.pm Set up object field names for pseudo-hash-using classes @@ -3106,9 +3109,6 @@ epoc/epoc_stubs.c EPOC port epoc/link.pl EPOC port link a exe ext/attributes/attributes.pm For "sub foo : attrlist" ext/attributes/attributes.xs For "sub foo : attrlist" -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/autouse/t/lib/MyTestModule.pm Test module for autouse ext/B/B/Concise.pm Compiler Concise backend ext/B/B.pm Compiler backend support functions and methods ext/B/B/Showlex.pm Compiler Showlex backend diff --git a/Porting/Maintainers.pl b/Porting/Maintainers.pl index 1cdd96d..239dbde 100755 --- a/Porting/Maintainers.pl +++ b/Porting/Maintainers.pl @@ -247,6 +247,14 @@ use File::Glob qw(:case); 'UPSTREAM' => 'cpan', }, + 'autouse' => + { + 'MAINTAINER' => 'p5p', + 'DISTRIBUTION' => 'FLORA/autouse-1.06.tar.gz', + 'FILES' => q[dist/autouse], + 'UPSTREAM' => 'blead', + }, + 'B::Concise' => { 'MAINTAINER' => 'smccam', @@ -1630,8 +1638,6 @@ use File::Glob qw(:case); { 'MAINTAINER' => 'p5p', 'FILES' => q[ - ext/autouse/lib - ext/autouse/t ext/B/B.pm ext/B/typemap ext/B/Makefile.PL diff --git a/ext/autouse/lib/autouse.pm b/dist/autouse/lib/autouse.pm similarity index 100% rename from ext/autouse/lib/autouse.pm rename to dist/autouse/lib/autouse.pm diff --git a/ext/autouse/t/autouse.t b/dist/autouse/t/autouse.t similarity index 100% rename from ext/autouse/t/autouse.t rename to dist/autouse/t/autouse.t diff --git a/ext/autouse/t/lib/MyTestModule.pm b/dist/autouse/t/lib/MyTestModule.pm similarity index 100% rename from ext/autouse/t/lib/MyTestModule.pm rename to dist/autouse/t/lib/MyTestModule.pm -- 2.7.4