From: Peter Rabbitson Date: Sat, 4 Feb 2012 16:19:27 +0000 (+0100) Subject: Normalize -'s and _'s in maint names and Makefile options X-Git-Tag: v0.08197~117 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=df65d4da1dbe1d485bb7a35f9e71898d1193e277;p=dbsrgits%2FDBIx-Class.git Normalize -'s and _'s in maint names and Makefile options --- diff --git a/Makefile.PL b/Makefile.PL index 290045d..28d5dac 100644 --- a/Makefile.PL +++ b/Makefile.PL @@ -128,7 +128,9 @@ if ($Module::Install::AUTHOR and ! $ENV{MAKELEVEL}) { my $args = { skip_author_deps => undef, }; - $getopt->getoptions($args, 'skip_author_deps'); + $getopt->getoptions($args, qw/ + skip_author_deps|skip-author-deps + /); if (@ARGV) { warn "\nIgnoring unrecognized option(s): @ARGV\n\n"; } diff --git a/maint/Makefile.PL.inc/11_authortests.pl b/maint/Makefile.PL.inc/11_authortests.pl index ebcda2d..b8f00b4 100644 --- a/maint/Makefile.PL.inc/11_authortests.pl +++ b/maint/Makefile.PL.inc/11_authortests.pl @@ -12,7 +12,7 @@ eval { # better error message in case of missing dep eval { require Module::Install::AuthorTests } - || die "\nYou need Module::Install::AuthorTests installed to run this Makefile.PL in author mode (or supply --skip_author_deps):\n\n$@\n"; + || die "\nYou need Module::Install::AuthorTests installed to run this Makefile.PL in author mode (or add --skip-author-deps):\n\n$@\n"; die $err; } diff --git a/maint/Makefile.PL.inc/12_authordeps.pl b/maint/Makefile.PL.inc/12_authordeps.pl index 1083b7e..c4944d0 100644 --- a/maint/Makefile.PL.inc/12_authordeps.pl +++ b/maint/Makefile.PL.inc/12_authordeps.pl @@ -24,7 +24,7 @@ else { ****************************************************************************** *** *** *** AUTHOR MODE: all optional test dependencies converted to hard requires *** -*** ( to disable re-run Makefile.PL with --skip_author_deps ) *** +*** ( to disable re-run Makefile.PL with --skip-author-deps ) *** *** *** ****************************************************************************** ****************************************************************************** diff --git a/maint/gen-pod-index.pl b/maint/gen_pod_index similarity index 100% rename from maint/gen-pod-index.pl rename to maint/gen_pod_index diff --git a/maint/gen-schema.pl b/maint/gen_schema similarity index 100% rename from maint/gen-schema.pl rename to maint/gen_schema