X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=maint%2FMakefile.PL.inc%2F50_redefine_makefile_flow.pl;h=251c18413e1b5c2d6c1b09a6e8125883538c2845;hb=e50536940adf2ebaef907a0c29ae37fbd5ce95b1;hp=873e669c3972c693a7895f761580222b573e6838;hpb=3cd5047e86f68d01a657d55069dcc5f65a6a914d;p=dbsrgits%2FDBIx-Class.git diff --git a/maint/Makefile.PL.inc/50_redefine_makefile_flow.pl b/maint/Makefile.PL.inc/50_redefine_makefile_flow.pl index 873e669..251c184 100644 --- a/maint/Makefile.PL.inc/50_redefine_makefile_flow.pl +++ b/maint/Makefile.PL.inc/50_redefine_makefile_flow.pl @@ -4,6 +4,7 @@ package MY; sub distdir { (my $snippet = shift->SUPER::distdir(@_)) =~ s/^create_distdir :/create_distdir_copy_manifested :/; + no warnings 'qw'; return <<"EOM"; $snippet @@ -23,7 +24,7 @@ clonedir_cleanup_generated_files : check_create_distdir_prereqs : \t\$(NOECHO) @{[ - $mm_proto->oneliner("DBIx::Class::Optional::Dependencies->die_unless_req_ok_for(q(dist_dir))", [qw/-Ilib -MDBIx::Class::Optional::Dependencies/]) + $mm_proto->oneliner("1", [qw( -Ilib -MDBIx::Class::Optional::Dependencies=-die_without,dist_dir )]) ]} EOM @@ -37,6 +38,7 @@ EOM sub postamble { my $snippet = shift->SUPER::postamble(@_); + no warnings 'qw'; return <<"EOM"; $snippet @@ -44,7 +46,7 @@ upload :: check_create_distdir_prereqs check_upload_dist_prereqs check_upload_dist_prereqs : \t\$(NOECHO) @{[ - $mm_proto->oneliner("DBIx::Class::Optional::Dependencies->die_unless_req_ok_for(q(dist_upload))", [qw/-Ilib -MDBIx::Class::Optional::Dependencies/]) + $mm_proto->oneliner("1", [qw( -Ilib -MDBIx::Class::Optional::Dependencies=-die_without,dist_upload )]) ]} EOM