--- trunk/Makefile.PL 2006/01/06 23:29:58 59 +++ trunk/Makefile.PL 2006/11/11 23:34:55 194 @@ -6,7 +6,7 @@ # now write Makefile WriteMakefile( NAME => 'Search::Estraier', - VERSION_FROM => 'Estraier.pm', # finds $VERSION + VERSION_FROM => 'lib/Search/Estraier.pm', # finds $VERSION PREREQ_PM => { 'Carp' => 0, 'Test::Simple' => 0, @@ -17,7 +17,7 @@ 'URI::Escape' => 0, }, # e.g., Module::Name => 1.1 ($] >= 5.005 ? ## Add these new keywords supported since 5.005 - (ABSTRACT_FROM => 'Estraier.pm', # retrieve abstract from module + (ABSTRACT_FROM => 'lib/Search/Estraier.pm', # retrieve abstract from module AUTHOR => 'Dobrica Pavlinusic ') : ()), clean => { FILES => "Makefile Makefile.old pod2html" }, ); @@ -34,10 +34,29 @@ test ! -z "`which svn2html.pl`" && svn update && svn2html.pl > $(HTML_DIR)/Changes.html changelog: - svn update && svn -v log > Changes + svk log -v > Changes tags: ctags *.p? +cpan: + make clean + rm -f Search-Estraier-*.tar.gz + perl Makefile.PL + make changelog + make dist + make disttest + sudo /etc/init.d/hyperestraier stop + make disttest + sudo /etc/init.d/hyperestraier start + @echo + @echo -n "Upload" Search-Estraier-*.tar.gz "to CPAN? [y/N]:" + @read upload && test "$$upload" == "y" && cpan-upload -verbose Search-Estraier-*.tar.gz + +cover: + cover -delete + HARNESS_PERL_SWITCHES=-MDevel::Cover make test + cover + MAKE_MORE }