X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=maint%2FMakefile.PL.inc%2F12_authordeps.pl;h=152a390b2ca746bfcb2a4d6d3fad123360a50235;hb=08ac7648665ed86e88b2a752b31e8a34a8552dc7;hp=7068fcbead079513e49cf219f03fdb62cfb677e0;hpb=204f57da09c684851943467878cb12e8bb64aa2b;p=dbsrgits%2FDBIx-Class.git diff --git a/maint/Makefile.PL.inc/12_authordeps.pl b/maint/Makefile.PL.inc/12_authordeps.pl index 7068fcb..152a390 100644 --- a/maint/Makefile.PL.inc/12_authordeps.pl +++ b/maint/Makefile.PL.inc/12_authordeps.pl @@ -36,7 +36,7 @@ EOW # exclude the rdbms_* groups which are for DBIC users $opt_testdeps = { - map { %{$reqs_for_group{$_}} } grep { !/^rdbms_/ } keys %reqs_for_group + map { %{$reqs_for_group{$_}} } grep { !/^rdbms_|^dist_/ } keys %reqs_for_group }; print "Including all optional deps\n"; @@ -108,6 +108,12 @@ END { } my $meta = do { local @ARGV = 'META.yml'; local $/; <> }; + $meta =~ /^\Qname: DBIx-Class\E$/m or do { + warn "Seemingly malformed META.yml...?\n"; + unlink 'Makefile'; + exit 1; + }; + # this is safe as there is a fatal check earlier in the main Makefile.PL # to make sure there are no duplicates (i.e. $opt_testdeps does not contain # any real dependencies)