X-Git-Url: http://git.rot13.org/?p=Biblio-Isis;a=blobdiff_plain;f=Makefile.PL;h=8c1e2889a609ecfcdef4bd8cde145363a5eae1f2;hp=c2d876bebc0d7506c3523b1f911193a5fc1dae3b;hb=514d07d2bc4ea623d32860cce42a09691856534b;hpb=7c68a4fe715c0adbdc281f8b8cbe0bf6770823ea diff --git a/Makefile.PL b/Makefile.PL index c2d876b..8c1e288 100644 --- a/Makefile.PL +++ b/Makefile.PL @@ -2,12 +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', @@ -20,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) || true + mkdir $(HTML_DIR) + allpod2xhtml.pl lib/ $(HTML_DIR) test ! -z "`which svn2html.pl`" && svn update && svn2html.pl > $(HTML_DIR)/Changes.html changelog: @@ -35,5 +38,8 @@ cmp: time ./scripts/dump_isis.pl > isis.txt time ./scripts/dump_openisis.pl > openisis.txt +bench: all + cd ./scripts/ && ./bench.pl + MAKE_MORE }