if username is passed to bind, assume password is passed too and do not default to...
[catagits/Catalyst-Authentication-Store-LDAP.git] / Makefile.PL
index 8fa0f37..1c9b564 100644 (file)
@@ -1,4 +1,4 @@
-use inc::Module::Install;
+use inc::Module::Install 0.87;
 
 name('Catalyst-Authentication-Store-LDAP');
 abstract('Authenticate Users against LDAP Directories');
@@ -13,9 +13,14 @@ requires( 'Catalyst::Plugin::Authentication' => '0.10003' );
 build_requires('Net::LDAP::Server::Test' => '0.07');
 build_requires('Test::More');
 build_requires('Test::MockObject');
-build_required('Test::Exception');
+build_requires('Test::Exception');
 
-auto_install();
+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;