summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicholas Clark <nick@ccl4.org>2009-09-13 16:30:18 +0100
committerNicholas Clark <nick@ccl4.org>2009-09-13 16:30:18 +0100
commit00c2f0c97c1956309eb5a69763c48663bca3a767 (patch)
treec4f78439bbdbf32c4cc92664269ad2651435ee30
parent359ab69c2e6e9e71dc5be4023a8ee521e8795dac (diff)
downloadperl-00c2f0c97c1956309eb5a69763c48663bca3a767.tar.gz
Move if from lib to ext.
-rw-r--r--MANIFEST4
-rwxr-xr-xPorting/Maintainers.pl5
-rw-r--r--ext/.gitignore1
-rw-r--r--ext/if/if.pm (renamed from lib/if.pm)0
-rw-r--r--ext/if/t/if.t (renamed from lib/if.t)4
-rw-r--r--lib/.gitignore1
6 files changed, 5 insertions, 10 deletions
diff --git a/MANIFEST b/MANIFEST
index 69504e6cdb..765a02a2a5 100644
--- 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
diff --git a/Porting/Maintainers.pl b/Porting/Maintainers.pl
index ede10850c4..ac35844754 100755
--- a/Porting/Maintainers.pl
+++ b/Porting/Maintainers.pl
@@ -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,
},
diff --git a/ext/.gitignore b/ext/.gitignore
index 2f4f2597cd..56e1abeb83 100644
--- a/ext/.gitignore
+++ b/ext/.gitignore
@@ -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
diff --git a/lib/if.pm b/ext/if/if.pm
index 5f6bcc8ae1..5f6bcc8ae1 100644
--- a/lib/if.pm
+++ b/ext/if/if.pm
diff --git a/lib/if.t b/ext/if/t/if.t
index d09de5895c..badab64f04 100644
--- a/lib/if.t
+++ b/ext/if/t/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 {
diff --git a/lib/.gitignore b/lib/.gitignore
index 077806dd45..9980d736e8 100644
--- a/lib/.gitignore
+++ b/lib/.gitignore
@@ -353,6 +353,7 @@
/encoding
/encoding.pm
/fields.pm
+/if.pm
/lib.pm
/ops.pm
/parent.pm