Move if from lib to ext.
authorNicholas Clark <nick@ccl4.org>
Sun, 13 Sep 2009 15:30:18 +0000 (16:30 +0100)
committerNicholas Clark <nick@ccl4.org>
Sun, 13 Sep 2009 15:30:18 +0000 (16:30 +0100)
MANIFEST
Porting/Maintainers.pl
ext/.gitignore
ext/if/if.pm [moved from lib/if.pm with 100% similarity]
ext/if/t/if.t [moved from lib/if.t with 94% similarity]
lib/.gitignore

index 69504e6..765a02a 100644 (file)
--- a/MANIFEST
+++ b/MANIFEST
@@ -1336,6 +1336,8 @@ ext/I18N-LangTags/t/20_locales.t          See whether I18N::LangTags works
 ext/I18N-LangTags/t/50_super.t                 See whether I18N::LangTags works
 ext/I18N-LangTags/t/55_supers_strict.t         See whether I18N::LangTags works
 ext/I18N-LangTags/t/80_all_env.t               See whether I18N::LangTags works
+ext/if/if.pm                   For "use if"
+ext/if/t/if.t                  Tests for "use if"
 ext/IO/ChangeLog               IO perl module change log
 ext/IO-Compress/Changes        IO::Compress
 ext/IO-Compress/examples/compress-zlib/filtdef IO::Compress
@@ -3202,8 +3204,6 @@ lib/h2xs.t                        See if h2xs produces expected lists of files
 lib/hostname.pl                        Old hostname code
 lib/I18N/Collate.pm            Routines to do strxfrm-based collation
 lib/I18N/Collate.t             See if I18N::Collate works
-lib/if.pm                      For "use if"
-lib/if.t                       Tests for "use if"
 lib/importenv.pl               Perl routine to get environment into variables
 lib/integer.pm                 For "use integer"
 lib/integer.t                  For "use integer" testing
index ede1085..ac35844 100755 (executable)
@@ -771,10 +771,7 @@ use File::Glob qw(:case);
        {
        'MAINTAINER'    => 'ilyaz',
        'DISTRIBUTION'  => 'ILYAZ/modules/if-0.0401.tar.gz',
-       'FILES'         => q[lib/if.{pm,t}],
-       'MAP'           => { 't/' => 'lib/',
-                            ''   => 'lib/',
-                          },
+       'FILES'         => q[ext/if],
        'CPAN'          => 1,
        'UPSTREAM'      => undef,
        },
index 2f4f259..56e1abe 100644 (file)
@@ -46,6 +46,7 @@ ppport.h
 /Filter-Util-Call/Makefile.PL
 /Hash-Util-FieldHash/Makefile.PL
 /I18N-LangTags/Makefile.PL
+/if/Makefile.PL
 /IO-Zlib/Makefile.PL
 /IPC-Cmd/Makefile.PL
 /IPC-Open2/Makefile.PL
similarity index 100%
rename from lib/if.pm
rename to ext/if/if.pm
similarity index 94%
rename from lib/if.t
rename to ext/if/t/if.t
index d09de58..badab64 100644 (file)
--- a/lib/if.t
@@ -1,9 +1,5 @@
 #!./perl
 
-BEGIN {
-    chdir 't' and @INC = '../lib' if $ENV{PERL_CORE};
-}
-
 my $t = 1;
 print "1..5\n";
 sub ok {
index 077806d..9980d73 100644 (file)
 /encoding
 /encoding.pm
 /fields.pm
+/if.pm
 /lib.pm
 /ops.pm
 /parent.pm