r1434@llin: dpavlin | 2007-10-31 22:49:48 +0100
authorDobrica Pavlinusic <dpavlin@rot13.org>
Thu, 1 Nov 2007 00:16:50 +0000 (00:16 +0000)
committerDobrica Pavlinusic <dpavlin@rot13.org>
Thu, 1 Nov 2007 00:16:50 +0000 (00:16 +0000)
 move to Module::Install and auto_install missing modules

git-svn-id: svn+ssh://mjesec/home/dpavlin/svn/webpac2/trunk@950 07558da8-63fa-0310-ba24-9fe276d99e06

Makefile.PL

index 453cf0f..089c85f 100644 (file)
@@ -1,6 +1,7 @@
 use strict;
 use warnings;
-use ExtUtils::MakeMaker;
+#use ExtUtils::MakeMaker;
+use inc::Module::Install;
 
 WriteMakefile(
     NAME                => 'WebPAC',
@@ -44,6 +45,8 @@ WriteMakefile(
     clean               => { FILES => 'WebPAC-* pod2html Makefile tags' },
 );
 
+auto_install;
+
 sub MY::postamble {
        return <<'MAKE_MORE';