X-Git-Url: http://git.rot13.org/?p=Biblio-Isis;a=blobdiff_plain;f=Makefile.PL;h=81d1ed57c4a49142059fe8dad1d55b1b83620042;hp=8b704202adbd2843e965ddf8efd8f82b77fc1a20;hb=refs%2Fheads%2Fmaster;hpb=93653871b2f53e6f93524bc5ee4f761bfd6f678f;ds=sidebyside diff --git a/Makefile.PL b/Makefile.PL index 8b70420..81d1ed5 100644 --- a/Makefile.PL +++ b/Makefile.PL @@ -7,9 +7,10 @@ WriteMakefile( AUTHOR => 'Dobrica Pavlinusic (dpavlin@rot13.org)', ABSTRACT_FROM => 'lib/Biblio/Isis.pm', PREREQ_PM => { - 'Test::Simple' => 0.44, + 'Test::More' => 0, 'Carp' => 0, 'File::Glob' => 0, + 'File::Spec' => 0, }, depend => { dist => 'changelog', @@ -22,13 +23,13 @@ sub MY::postamble { HTML_DIR=pod2html html: $(TO_INST_PM) - test -e $(HTML_DIR) && rm -Rf $(HTML_DIR) + test -e $(HTML_DIR) && rm -Rf $(HTML_DIR) || true mkdir $(HTML_DIR) - perl -MPod::Simple::HTMLBatch -e 'Pod::Simple::HTMLBatch::go' lib/ pod2html/ + allpod2xhtml.pl lib/ $(HTML_DIR) test ! -z "`which svn2html.pl`" && svn update && svn2html.pl > $(HTML_DIR)/Changes.html changelog: - svn update && svn -v log > Changes + svk update && svk -v log > Changes tags: ctags *.p? */*.p? @@ -40,5 +41,15 @@ cmp: bench: all cd ./scripts/ && ./bench.pl +cpan: + make clean + rm -f Biblio-Isis-*.tar.gz + perl Makefile.PL + make changelog + make dist + make disttest + @echo + @echo -n "Upload" Biblio-Isis-*.tar.gz "to CPAN? [y/N]:" + @read upload && test "$$upload" == "y" && cpan-upload -verbose Biblio-Isis-*.tar.gz MAKE_MORE }