4 |
# the contents of the Makefile that is written. |
# the contents of the Makefile that is written. |
5 |
WriteMakefile( |
WriteMakefile( |
6 |
NAME => 'Nos', |
NAME => 'Nos', |
7 |
VERSION_FROM => 'lib/Nos.pm', # finds $VERSION |
VERSION_FROM => 'Nos.pm', # finds $VERSION |
8 |
PREREQ_PM => { |
PREREQ_PM => { |
9 |
'Class::DBI::Loader', |
'Class::DBI::Loader', |
10 |
'Getopt::Long', |
'Getopt::Long', |
13 |
'Carp', |
'Carp', |
14 |
}, # e.g., Module::Name => 1.1 |
}, # e.g., Module::Name => 1.1 |
15 |
($] >= 5.005 ? ## Add these new keywords supported since 5.005 |
($] >= 5.005 ? ## Add these new keywords supported since 5.005 |
16 |
(ABSTRACT_FROM => 'lib/Nos.pm', # retrieve abstract from module |
(ABSTRACT_FROM => 'Nos.pm', # retrieve abstract from module |
17 |
AUTHOR => 'Dobrica Pavlinusic <dpavlin@rot13.org>') : ()), |
AUTHOR => 'Dobrica Pavlinusic <dpavlin@rot13.org>') : ()), |
18 |
); |
); |
19 |
|
|
37 |
db=notices |
db=notices |
38 |
|
|
39 |
init: |
init: |
40 |
dropdb $(db) |
dropdb $(db) || true |
41 |
createdb $(db) |
createdb $(db) |
42 |
psql $(db) < schema.sql |
psql $(db) < schema.sql |
43 |
|
|