--- trunk/Makefile.PL 2004/07/20 17:07:20 3 +++ trunk/Makefile.PL 2004/10/07 16:26:31 24 @@ -1,11 +1,17 @@ -use 5.008004; +use 5.005; use ExtUtils::MakeMaker; # See lib/ExtUtils/MakeMaker.pm for details of how to influence # the contents of the Makefile that is written. WriteMakefile( NAME => 'jsFind', VERSION_FROM => 'jsFind.pm', # finds $VERSION - PREREQ_PM => {}, # e.g., Module::Name => 1.1 + PREREQ_PM => { + 'Carp' => 0, + 'File::Path' => 0, + 'HTML::Entities' => 0, + 'Text::Iconv' => 0, + 'POSIX' => 0, + }, ($] >= 5.005 ? ## Add these new keywords supported since 5.005 (ABSTRACT_FROM => 'jsFind.pm', # retrieve abstract from module AUTHOR => 'Dobrica Pavlinusic ') : ()), @@ -24,8 +30,12 @@ #words.png: words.dot # dot -Tpng -o words.png words.dot -html: jsFind.pm - pod2html jsFind.pm > jsFind.html && rm pod2htm?.tmp +html: blib/lib/jsFind.pm all + pod2html blib/lib/jsFind.pm jsFind.html + +clean :: + rm -f tree.* words.* homer_* + cd html && rm -Rf entities/ entities-utf8/ lorem/ words/ homer/ test_data.js MAKE_MORE }