Changing the repository metadata when you move something is a good plan. And I didn...
[catagits/Catalyst-Plugin-Session-State-Cookie.git] / Makefile.PL
index beaba1a..5fbce0d 100644 (file)
@@ -12,6 +12,11 @@ test_requires 'Moose';
 test_requires 'Test::More';
 
 auto_install;
-resources repository => 'http://dev.catalyst.perl.org/repos/Catalyst/trunk/Catalyst-Plugin-Session-State-Cookie/';
+resources repository => 'http://dev.catalyst.perl.org/repos/Catalyst/Catalyst-Plugin-Session-State-Cookie/trunk/';
+
+if ($Module::Install::AUTHOR) {
+    system("pod2text lib/Catalyst/Plugin/Session/State/Cookie.pm > README")
+        and die;
+}
 
 WriteAll;