X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=Makefile.PL;h=703dbc46a1bbc8b72ccc56f18f812ebfaebdc9b9;hb=61c4bce7e7b6585613a8b01119cfe88ede232bca;hp=21b45797464c775e9c0e7facd060936387a8f0d3;hpb=40aef9d69ad5c2a21995d57d3d783d84aff0b59d;p=p5sagit%2Fnamespace-clean.git diff --git a/Makefile.PL b/Makefile.PL index 21b4579..703dbc4 100644 --- a/Makefile.PL +++ b/Makefile.PL @@ -6,13 +6,25 @@ use inc::Module::Install; name q{namespace-clean}; license q{perl}; -author q{Robert 'phaylon' Sedlacek }; +author q{Robert 'phaylon'' Sedlacek }; all_from q{lib/namespace/clean.pm}; build_requires q{Test::More}, '0.62'; build_requires q{FindBin}, 0; -requires q{Filter::EOF}, '0.02'; +requires q{B::Hooks::EndOfScope}, '0.07'; requires q{Symbol}, 0; +auto_provides; +auto_install; + +if (-e 'MANIFEST.SKIP') { + + print "Creating README file\n"; + system 'pod2text lib/namespace/clean.pm > README'; + + print "Adding author tests to 'make test' run\n"; + tests 't/*.t t_author/*.t'; +} + WriteAll;