6 |
NAME => 'Nos', |
NAME => 'Nos', |
7 |
VERSION_FROM => 'Nos.pm', # finds $VERSION |
VERSION_FROM => 'Nos.pm', # finds $VERSION |
8 |
PREREQ_PM => { |
PREREQ_PM => { |
9 |
'Class::DBI::Loader', |
'Class::DBI::Loader' => 0, |
10 |
'Getopt::Long', |
'Class::DBI::Pg' => 0, |
11 |
'Email::Valid', |
'DBD::Pg' => 1.42, |
12 |
'Email::Send', |
'Getopt::Long' => 0, |
13 |
'Carp', |
'Email::Valid' => 0, |
14 |
|
'Email::Send' => 0, |
15 |
|
'IO::All' => 0, |
16 |
|
'Carp' => 0, |
17 |
|
'SOAP::Lite' => 0, |
18 |
|
'Email::Auth::AddressHash' => 0, |
19 |
|
'Email::Simple' => 0, |
20 |
|
'Email::Address' => 0, |
21 |
|
'Mail::DeliveryStatus::BounceParser' => 0, |
22 |
}, # e.g., Module::Name => 1.1 |
}, # e.g., Module::Name => 1.1 |
23 |
($] >= 5.005 ? ## Add these new keywords supported since 5.005 |
($] >= 5.005 ? ## Add these new keywords supported since 5.005 |
24 |
(ABSTRACT_FROM => 'Nos.pm', # retrieve abstract from module |
(ABSTRACT_FROM => 'Nos.pm', # retrieve abstract from module |
33 |
html: $(TO_INST_PM) |
html: $(TO_INST_PM) |
34 |
test -e $(HTML_DIR) || mkdir $(HTML_DIR) |
test -e $(HTML_DIR) || mkdir $(HTML_DIR) |
35 |
ls $(MAN1PODS) $(MAN3PODS) | cut -d. -f1 | xargs -i sh -c "pod2html --infile {}.p[lm] --outfile $(HTML_DIR)/{}.html --htmldir $(HTML_DIR)" |
ls $(MAN1PODS) $(MAN3PODS) | cut -d. -f1 | xargs -i sh -c "pod2html --infile {}.p[lm] --outfile $(HTML_DIR)/{}.html --htmldir $(HTML_DIR)" |
36 |
|
ls *.cgi | cut -d. -f1 | xargs -i sh -c "pod2html --infile {}.* --outfile $(HTML_DIR)/{}.html --htmldir $(HTML_DIR)" |
37 |
rm -f pod2htm?.tmp |
rm -f pod2htm?.tmp |
38 |
test ! -z "`which svn2html.pl`" && svn update && svn2html.pl > $(HTML_DIR)/Changes.html |
test ! -z "`which svn2html.pl`" && svn update && svn2html.pl > $(HTML_DIR)/Changes.html |
39 |
|
|
46 |
db=notices |
db=notices |
47 |
|
|
48 |
init: |
init: |
49 |
dropdb $(db) |
dropdb $(db) || true |
50 |
createdb $(db) |
createdb $(db) |
51 |
psql $(db) < schema.sql |
psql $(db) < schema.sql |
52 |
|
|