Permalink
Browse files

move the location of the extra upload checks so it isn't the default …

…target

This should result in equivalent behavior since it is still before the
main upload rule.
  • Loading branch information...
haarg committed Mar 8, 2013
1 parent 554f362 commit 1b6cbedd9d5c661ef8c8c3055b3a1170eb044e1d
Showing with 3 additions and 9 deletions.
  1. +3 −9 maint/Makefile.PL.inc/50_redefine_makefile_flow.pl
@@ -24,22 +24,16 @@
$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 :
\t\$(NOECHO) @{[
$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

0 comments on commit 1b6cbed

Please sign in to comment.