From: Tomas Doran <bobtfish@bobtfish.net>
Date: Wed, 4 Nov 2009 09:18:21 +0000 (+0000)
Subject: Update Makefile.PL
X-Git-Tag: 0.04~5
X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=ea0c26eea623624d3e079ad4538416f6cc6df247;p=gitmo%2FMooseX-SimpleConfig.git

Update Makefile.PL
---

diff --git a/Makefile.PL b/Makefile.PL
index a73e124..961b7eb 100644
--- a/Makefile.PL
+++ b/Makefile.PL
@@ -1,5 +1,5 @@
 # Load the Module::Install bundled in ./inc/
-use inc::Module::Install 0.75;
+use inc::Module::Install 0.91;
 
 name 'MooseX-SimpleConfig';
 all_from 'lib/MooseX/SimpleConfig.pm';
@@ -11,7 +11,8 @@ requires 'MooseX::ConfigFromFile'     => '0.02';
 requires 'Config::Any'                => '0.10';
 
 # Rebuild README for maintainers
-system("pod2text lib/MooseX/SimpleConfig.pm >README") if -e 'MANIFEST.SKIP';
+system("pod2text lib/MooseX/SimpleConfig.pm >README") and die
+    if $Module::Install::AUTHOR;
 
 auto_provides;
 auto_install;