/[notice-sender]/jifty-dbi/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 /jifty-dbi/Makefile.PL

Parent Directory Parent Directory | Revision Log Revision Log


Revision 92 - (show annotations)
Tue Dec 19 10:32:18 2006 UTC (17 years, 3 months ago) by dpavlin
File MIME type: text/plain
File size: 1752 byte(s)
begin migration from Class::DBI to Jifty::DBI
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 => 'lib/Nos.pm', # finds $VERSION
8 PREREQ_PM => {
9 'Jifty::DBI' => 0,
10 'DBD::Pg' => 1.42,
11 'Getopt::Long' => 0,
12 'Email::Valid' => 0,
13 'Email::Send' => 2.183,
14 'IO::All' => 0,
15 'Carp' => 0,
16 'SOAP::Lite' => 0.69,
17 'Email::Auth::AddressHash' => 0,
18 'Email::Simple' => 0,
19 'Email::Address' => 0,
20 'Mail::DeliveryStatus::BounceParser' => 1.517,
21 'Mail::Alias' => 0,
22 'Cwd' => 0,
23 'Pod::Usage' => 0,
24 'Data::Dump' => 0,
25 }, # e.g., Module::Name => 1.1
26 ($] >= 5.005 ? ## Add these new keywords supported since 5.005
27 (ABSTRACT_FROM => 'lib/Nos.pm', # retrieve abstract from module
28 AUTHOR => 'Dobrica Pavlinusic <dpavlin@rot13.org>') : ()),
29 );
30
31 sub MY::postamble {
32 return <<'MAKE_MORE';
33
34 HTML_DIR=pod2html
35
36 html: $(TO_INST_PM)
37 test -e $(HTML_DIR) || mkdir $(HTML_DIR)
38 ls $(MAN1PODS) $(MAN3PODS) | cut -d. -f1 | xargs -i sh -c "pod2html --infile {}.p[lm] --outfile $(HTML_DIR)/{}.html --htmldir $(HTML_DIR)"
39 ls *.cgi | cut -d. -f1 | xargs -i sh -c "pod2html --infile {}.* --outfile $(HTML_DIR)/{}.html --htmldir $(HTML_DIR)"
40 rm -f pod2htm?.tmp
41 test ! -z "`which svn2html.pl`" && svn update && svn2html.pl > $(HTML_DIR)/Changes.html
42 test ! -z "`which postgresql_autodoc`" && cd $(HTML_DIR) && postgresql_autodoc -d notices && dot -Tpng -o notices.png notices.dot
43
44 changelog:
45 svn update && svn -v log > Changes
46
47 tags:
48 ctags *.p?
49
50 db=notices
51
52 init:
53 dropdb $(db) || true
54 createdb $(db)
55 psql $(db) < schema.sql
56
57 save:
58 pg_dump -c $(db) > $(db).sql
59
60 load:
61 psql $(db) < $(db).sql
62
63 MAKE_MORE
64 }

  ViewVC Help
Powered by ViewVC 1.1.26