--- trunk/Makefile.PL 2005/05/15 21:35:15 21 +++ jifty-dbi/Makefile.PL 2006/12/19 10:32:18 92 @@ -4,16 +4,27 @@ # the contents of the Makefile that is written. WriteMakefile( NAME => 'Nos', - VERSION_FROM => 'Nos.pm', # finds $VERSION + VERSION_FROM => 'lib/Nos.pm', # finds $VERSION PREREQ_PM => { - 'Class::DBI::Loader', - 'Getopt::Long', - 'Email::Valid', - 'Email::Send', - 'Carp', + 'Jifty::DBI' => 0, + 'DBD::Pg' => 1.42, + 'Getopt::Long' => 0, + 'Email::Valid' => 0, + 'Email::Send' => 2.183, + 'IO::All' => 0, + 'Carp' => 0, + 'SOAP::Lite' => 0.69, + 'Email::Auth::AddressHash' => 0, + 'Email::Simple' => 0, + 'Email::Address' => 0, + 'Mail::DeliveryStatus::BounceParser' => 1.517, + 'Mail::Alias' => 0, + 'Cwd' => 0, + 'Pod::Usage' => 0, + 'Data::Dump' => 0, }, # e.g., Module::Name => 1.1 ($] >= 5.005 ? ## Add these new keywords supported since 5.005 - (ABSTRACT_FROM => 'Nos.pm', # retrieve abstract from module + (ABSTRACT_FROM => 'lib/Nos.pm', # retrieve abstract from module AUTHOR => 'Dobrica Pavlinusic ') : ()), ); @@ -25,8 +36,10 @@ 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)" + ls *.cgi | cut -d. -f1 | xargs -i sh -c "pod2html --infile {}.* --outfile $(HTML_DIR)/{}.html --htmldir $(HTML_DIR)" rm -f pod2htm?.tmp test ! -z "`which svn2html.pl`" && svn update && svn2html.pl > $(HTML_DIR)/Changes.html + test ! -z "`which postgresql_autodoc`" && cd $(HTML_DIR) && postgresql_autodoc -d notices && dot -Tpng -o notices.png notices.dot changelog: svn update && svn -v log > Changes @@ -37,7 +50,7 @@ db=notices init: - dropdb $(db) + dropdb $(db) || true createdb $(db) psql $(db) < schema.sql