Blob Blame History Raw
commit 95115572e8e7941b8db887f5eceb0a18a4d10fa9
Author: Todd Rinaldo <toddr@cpan.org>
Date:   Wed May 18 09:18:04 2011 -0500

    Remove INSTALLDIRS from macro in Makefile.PL so site override works

diff --git a/Makefile.PL b/Makefile.PL
index a586a04..c05b552 100644
--- a/Makefile.PL
+++ b/Makefile.PL
@@ -60,13 +60,12 @@ WriteMakefile(
             AUTHOR       => 'Paul Marquess <pmqs@cpan.org>')
         : ()
     ),
-    
-
+    ($] < 5.008 || $] > 5.011) ? (INSTALLDIRS => 'site') : ( INSTALLDIRS => 'perl' ),
 	#OPTIMIZE	=> '-g',
 	'depend'	=> { 'Makefile'          => 'config.in',
                              'version$(OBJ_EXT)' => 'version.c'},
 	'clean'		=> { FILES => 'constants.h constants.xs' },
-	'macro'		=> { INSTALLDIRS => 'perl', my_files => "@files" },
+	'macro'		=> { my_files => "@files" },
         'dist'          => { COMPRESS => 'gzip', SUFFIX => 'gz',
 			     DIST_DEFAULT => 'MyDoubleCheck tardist'},    
 	);