Put this into the tag/0.14 initially (which isn't actually a tag). This should be...
[catagits/Catalyst-Authentication-Credential-OpenID.git] / Makefile.PL
index ce9de9e..50eec95 100644 (file)
@@ -23,13 +23,18 @@ recommends "YAML"        => "0.6";
 recommends "Math::BigInt"    => undef;
 recommends "LWPx::ParanoidAgent" => "1.03";
 
-test_requires "LWPx::ParanoidAgent" => "1.03";
 test_requires "Test::More"      => "0.42";
 test_requires "Net::OpenID::Server" => "1.02";
 test_requires "Test::WWW::Mechanize" => "1.20";
 test_requires "Net::DNS"       => undef;
 test_requires "IO::Socket::INET"   => undef;
 
+if ( $Module::Install::AUTHOR )
+{
+    system("pod2text lib/Catalyst/Authentication/Credential/OpenID.pm > README") == 0
+        or die "Couldn't update the README";
+}
+
 auto_install;
 resources repository => 'http://dev.catalyst.perl.org/repos/Catalyst/Catalyst-Authentication-Credential-OpenID/';