07f8f623b93351e2aaba3fed1a50d5e7fd7811f6
[p5sagit/namespace-clean.git] / Makefile.PL
1 #!/usr/bin/env perl
2 use warnings;
3 use strict;
4
5 use inc::Module::Install;
6
7 name            q{namespace-clean};
8 license         q{perl};
9 author          q{Robert 'phaylon' Sedlacek <rs@474.at>};
10 all_from        q{lib/namespace/clean.pm};
11
12 build_requires  q{Test::More},                  '0.62';
13 build_requires  q{FindBin},                     0;
14
15 requires        q{Scope::Guard},                '0.02';
16 requires        q{Symbol},                      0;
17
18 auto_provides;
19 auto_install;
20
21 if (-e 'MANIFEST.SKIP') {
22
23     print "Creating README file\n";
24     system 'pod2text lib/namespace/clean.pm > README';
25
26     print "Adding author tests to 'make test' run\n";
27     tests 't/*.t t_author/*.t';
28 }
29
30 WriteAll;