build_requires('Net::LDAP::Server::Test' => '0.07');
build_requires('Test::More');
build_requires('Test::MockObject');
-build_required('Test::Exception');
-
-auto_install();
+build_requires('Test::Exception');
resources repository => 'http://dev.catalyst.perl.org/repos/Catalyst/Catalyst-Authentication-Store-LDAP/trunk/';
-&WriteAll;
+if ($Module::Install::AUTHOR) {
+ system("pod2text lib/Catalyst/Authentication/Store/LDAP.pm > README")
+ and die $!;
+}
+
+WriteAll;