X-Git-Url: http://git.rot13.org/?p=Biblio-Isis;a=blobdiff_plain;f=Makefile.PL;h=e598d9de898f3cd3cef9ab5ab05308efa0a11c27;hp=98b2f606e9abc7554932be749e9a193de1224b11;hb=7749b1f9d18b2971c788b1bf053e63f50b8f99fc;hpb=3548059e1a661bc480b0054c7b3f92287b55b86f diff --git a/Makefile.PL b/Makefile.PL index 98b2f60..e598d9d 100644 --- a/Makefile.PL +++ b/Makefile.PL @@ -2,14 +2,15 @@ use ExtUtils::MakeMaker; # See lib/ExtUtils/MakeMaker.pm for details of how to influence # the contents of the Makefile that is written. WriteMakefile( - NAME => 'IsisDB', - VERSION_FROM => 'IsisDB.pm', # finds $VERSION + NAME => 'Biblio::Isis', + VERSION_FROM => 'lib/Biblio/Isis.pm', # finds $VERSION AUTHOR => 'Dobrica Pavlinusic (dpavlin@rot13.org)', - ABSTRACT_FROM => 'IsisDB.pm', + 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,9 +23,9 @@ sub MY::postamble { HTML_DIR=pod2html html: $(TO_INST_PM) - test -e $(HTML_DIR) || mkdir $(HTML_DIR) - ls $(MAN1PODS) $(MAN3PODS) | cut -d. -f1 | xargs -i sh -c "pod2html --infile {}.p[lm] --outfile $(HTML_DIR)/{}.html --htmldir $(HTML_DIR)" - rm -f pod2htm?.tmp + test -e $(HTML_DIR) && rm -Rf $(HTML_DIR) + mkdir $(HTML_DIR) + perl -MPod::Simple::HTMLBatch -e 'Pod::Simple::HTMLBatch::go' lib/ pod2html/ test ! -z "`which svn2html.pl`" && svn update && svn2html.pl > $(HTML_DIR)/Changes.html changelog: