move the location of the extra upload checks so it isn't the default target
[dbsrgits/DBIx-Class.git] / maint / Makefile.PL.inc / 50_redefine_makefile_flow.pl
index c3eb8df..c407680 100644 (file)
@@ -24,14 +24,6 @@ check_create_distdir_prereqs :
   $mm_proto->oneliner("DBIx::Class::Optional::Dependencies->die_unless_req_ok_for(q(dist_dir))", [qw/-Ilib -MDBIx::Class::Optional::Dependencies/])
 ]}
 
-EOM
-  }
-}
-
-# add an upload target check as a *preamble*
-# will ensure things being assembled in the right order
-preamble <<"EOP";
-
 upload :: check_create_distdir_prereqs check_upload_dist_prereqs
 
 check_upload_dist_prereqs :
@@ -39,7 +31,9 @@ check_upload_dist_prereqs :
   $mm_proto->oneliner("DBIx::Class::Optional::Dependencies->die_unless_req_ok_for(q(dist_upload))", [qw/-Ilib -MDBIx::Class::Optional::Dependencies/])
 ]}
 
-EOP
+EOM
+  }
+}
 
 # EU::MM BUG - workaround
 # somehow the init_PM of EUMM (in MM_Unix) interprets ResultClass.pod.proto