From: Tomas Doran Date: Tue, 8 Dec 2009 01:04:19 +0000 (+0000) Subject: Use Module::Install built in detection of author mode X-Git-Tag: 0.93_01~41^2~5 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=c37b44747bc26e8441417c571ff2edef5e36bfa4;p=gitmo%2FMoose.git Use Module::Install built in detection of author mode --- diff --git a/Makefile.PL b/Makefile.PL index 1b50c2d..44af576 100644 --- a/Makefile.PL +++ b/Makefile.PL @@ -29,7 +29,7 @@ author_requires 'Test::Inline'; author_requires 'File::Find::Rule'; author_requires 'Module::Info'; -if ( -d '.svn' || -d '.git' || $ENV{IS_MAINTAINER} ) { +if ( $Module::Install::AUTHOR || $ENV{IS_MAINTAINER} ) { system( $^X, 'author/extract-inline-tests' ); }