X-Git-Url: http://git.rot13.org/?p=Biblio-Isis;a=blobdiff_plain;f=Makefile.PL;h=e598d9de898f3cd3cef9ab5ab05308efa0a11c27;hp=4c892e2563af2ef4efae4e556d90f1f369cd8004;hb=49198e2ef96078678c21ed6bf3270b7253916abe;hpb=abf1f9f6abb8c50e5191e7ad85f5c5cf0d0b5565 diff --git a/Makefile.PL b/Makefile.PL index 4c892e2..e598d9d 100644 --- a/Makefile.PL +++ b/Makefile.PL @@ -2,11 +2,44 @@ 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 => 'Read CDS/ISIS database', + 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', }, ); + +sub MY::postamble { + return <<'MAKE_MORE'; + +HTML_DIR=pod2html + +html: $(TO_INST_PM) + 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: + svn update && svn -v log > Changes + +tags: + ctags *.p? */*.p? + +cmp: + time ./scripts/dump_isis.pl > isis.txt + time ./scripts/dump_openisis.pl > openisis.txt + +bench: all + cd ./scripts/ && ./bench.pl + +MAKE_MORE +}