[svn:CPANPLUS-Dist-Build] r12697 - in CPANPLUS-Dist-Build/trunk: . lib/CPANPLUS/Dist lib/CPANPLUS/Dist/Build

[email protected]
Newsgroups perl.module.build.checkins
Message-ID <[email protected]>
Author: BINGOS
Date: Tue Apr 14 03:01:53 2009
New Revision: 12697

Modified:
   CPANPLUS-Dist-Build/trunk/Changes
   CPANPLUS-Dist-Build/trunk/Makefile.PL
   CPANPLUS-Dist-Build/trunk/lib/CPANPLUS/Dist/Build.pm
   CPANPLUS-Dist-Build/trunk/lib/CPANPLUS/Dist/Build/Constants.pm

Log:
Fix the installdirs in Makefile.PL

Modified: CPANPLUS-Dist-Build/trunk/Changes
==============================================================================
--- CPANPLUS-Dist-Build/trunk/Changes	(original)
+++ CPANPLUS-Dist-Build/trunk/Changes	Tue Apr 14 03:01:53 2009
@@ -1,5 +1,8 @@
 Revision history for Perl extension CPANPLUS::Dist::Build.
 
+0.22 Tue Apr 14 11:01:12 BST 2009
+  - Fix the installdirs in Makefile.PL
+
 0.20 Tue Apr  7 17:01:47 BST 2009
 
   - Made MI::Respository only necessary on the author-side

Modified: CPANPLUS-Dist-Build/trunk/Makefile.PL
==============================================================================
--- CPANPLUS-Dist-Build/trunk/Makefile.PL	(original)
+++ CPANPLUS-Dist-Build/trunk/Makefile.PL	Tue Apr 14 03:01:53 2009
@@ -19,6 +19,12 @@
 requires 'File::Spec'                => 0;
 clean_files 't/dummy-cpanplus t/dummy-perl/lib/perl5';
 # overwrite the CP::D::B that shipped in core
-installdirs ($] >= 5.009005 ? 'perl' : 'site');
+#installdirs ($] >= 5.009005 ? 'perl' : 'site');
+if ( $] >= 5.009005 ) {
+  install_as_core;
+}
+else {
+  install_as_site;
+}
 eval "auto_set_repository()";
 WriteAll();

Modified: CPANPLUS-Dist-Build/trunk/lib/CPANPLUS/Dist/Build.pm
==============================================================================
--- CPANPLUS-Dist-Build/trunk/lib/CPANPLUS/Dist/Build.pm	(original)
+++ CPANPLUS-Dist-Build/trunk/lib/CPANPLUS/Dist/Build.pm	Tue Apr 14 03:01:53 2009
@@ -31,7 +31,7 @@
 
 local $Params::Check::VERBOSE = 1;
 
-$VERSION = '0.20';
+$VERSION = '0.22';
 
 =pod
 

Modified: CPANPLUS-Dist-Build/trunk/lib/CPANPLUS/Dist/Build/Constants.pm
==============================================================================
--- CPANPLUS-Dist-Build/trunk/lib/CPANPLUS/Dist/Build/Constants.pm	(original)
+++ CPANPLUS-Dist-Build/trunk/lib/CPANPLUS/Dist/Build/Constants.pm	Tue Apr 14 03:01:53 2009
@@ -9,7 +9,7 @@
     require Exporter;
     use vars    qw[$VERSION @ISA @EXPORT];
   
-    $VERSION    = '0.20';
+    $VERSION    = '0.22';
     @ISA        = qw[Exporter];
     @EXPORT     = qw[ BUILD_DIR BUILD ];
 }
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.