X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=Makefile.PL;h=290045d3d26a15ac8dd563f1b159a181923a1e7c;hb=c78f9f5b61dea550678570f3659576386e6c67f2;hp=c6057cd114c2b8b28e20d39d1de0c76dd5408bf2;hpb=8b280eeeb8816bdd5377efe9beec81312bd9b2e5;p=dbsrgits%2FDBIx-Class.git diff --git a/Makefile.PL b/Makefile.PL index c6057cd..290045d 100644 --- a/Makefile.PL +++ b/Makefile.PL @@ -118,7 +118,8 @@ my $reqs = { test_requires => { %$test_requires }, }; -if ($Module::Install::AUTHOR) { +# only do author-includes if not part of a `make` run +if ($Module::Install::AUTHOR and ! $ENV{MAKELEVEL}) { # get options here, make $args available to all snippets require Getopt::Long; my $getopt = Getopt::Long::Parser->new(