/[notice-sender]/trunk/Makefile.PL
This is repository of my old source code which isn't updated any more. Go to git.rot13.org for current projects!
ViewVC logotype

Contents of /trunk/Makefile.PL

Parent Directory Parent Directory | Revision Log Revision Log


Revision 93 - (show annotations)
Tue Dec 19 15:04:05 2006 UTC (13 years, 9 months ago) by dpavlin
File MIME type: text/plain
File size: 1846 byte(s)
added verbose to send_queued_messages so that SOAP call (SendTest, used for tests) doesn't
produce any output (and thus confuse SOAP CGI server)
1 use 5.008;
2 use ExtUtils::MakeMaker;
3 # See lib/ExtUtils/MakeMaker.pm for details of how to influence
4 # the contents of the Makefile that is written.
5 WriteMakefile(
6 NAME => 'Nos',
7 VERSION_FROM => 'Nos.pm', # finds $VERSION
8 PREREQ_PM => {
9 'Class::DBI::Loader' => 0,
10 'Class::DBI::Pg' => 0,
11 'Class::DBI::AbstractSearch' => 0,
12 'DBD::Pg' => 1.42,
13 'Getopt::Long' => 0,
14 'Email::Valid' => 0,
15 'Email::Send' => 2.183,
16 'IO::All' => 0,
17 'Carp' => 0,
18 'SOAP::Lite' => 0.69,
19 'Email::Auth::AddressHash' => 0,
20 'Email::Simple' => 1.996,
21 'Email::Address' => 0,
22 'Mail::DeliveryStatus::BounceParser' => 1.517,
23 'Mail::Alias' => 0,
24 'Cwd' => 0,
25 'Pod::Usage' => 0,
26 'SQL::Abstract' => 1.15,
27 'Data::Dump' => 0,
28 }, # e.g., Module::Name => 1.1
29 ($] >= 5.005 ? ## Add these new keywords supported since 5.005
30 (ABSTRACT_FROM => 'Nos.pm', # retrieve abstract from module
31 AUTHOR => 'Dobrica Pavlinusic <dpavlin@rot13.org>') : ()),
32 );
33
34 sub MY::postamble {
35 return <<'MAKE_MORE';
36
37 HTML_DIR=pod2html
38
39 html: $(TO_INST_PM)
40 test -e $(HTML_DIR) || mkdir $(HTML_DIR)
41 ls $(MAN1PODS) $(MAN3PODS) | cut -d. -f1 | xargs -i sh -c "pod2html --infile {}.p[lm] --outfile $(HTML_DIR)/{}.html --htmldir $(HTML_DIR)"
42 ls *.cgi | cut -d. -f1 | xargs -i sh -c "pod2html --infile {}.* --outfile $(HTML_DIR)/{}.html --htmldir $(HTML_DIR)"
43 rm -f pod2htm?.tmp
44 test ! -z "`which svn2html.pl`" && svn update && svn2html.pl > $(HTML_DIR)/Changes.html
45 test ! -z "`which postgresql_autodoc`" && cd $(HTML_DIR) && postgresql_autodoc -d notices && dot -Tpng -o notices.png notices.dot
46
47 changelog:
48 svn update && svn -v log > Changes
49
50 tags:
51 ctags *.p?
52
53 db=notices
54
55 init:
56 dropdb $(db) || true
57 createdb $(db)
58 psql $(db) < schema.sql
59
60 save:
61 pg_dump -c $(db) > $(db).sql
62
63 load:
64 psql $(db) < $(db).sql
65
66 MAKE_MORE
67 }

  ViewVC Help
Powered by ViewVC 1.1.26