Autogenerate README
Tomas Doran [Fri, 25 Sep 2009 09:30:23 +0000 (09:30 +0000)]
Makefile.PL

index 4fcfd3f..2bc5a76 100644 (file)
@@ -14,4 +14,10 @@ requires 'namespace::autoclean';
 test_requires 'Catalyst::Runtime';
 test_requires 'Test::More';
 
+if ($Module::Install::AUTHOR) {
+    system("pod2text lib/Catalyst/Authentication/Credential/OAuth.pm > README")
+        and die;
+}
+
 WriteAll();
+