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 => 'Fuse::DBI', |
7 |
VERSION_FROM => 'DBI.pm', # finds $VERSION |
8 |
PREREQ_PM => { |
9 |
'POSIX' => 0, |
10 |
'Fuse' => 0, |
11 |
'DBI' => 0, |
12 |
'Carp' => 0, |
13 |
'File::Find' => 0, |
14 |
}, # e.g., Module::Name => 1.1 |
15 |
($] >= 5.005 ? ## Add these new keywords supported since 5.005 |
16 |
(ABSTRACT_FROM => 'DBI.pm', # retrieve abstract from module |
17 |
AUTHOR => 'Dobrica Pavlinusic <dpavlin@rot13.org>') : ()), |
18 |
depend => { |
19 |
dist => 'changelog', |
20 |
}, |
21 |
); |
22 |
|
23 |
sub MY::postamble { |
24 |
return <<'MAKE_MORE'; |
25 |
|
26 |
html: DBI.pm |
27 |
pod2html DBI.pm > DBI.html |
28 |
pod2html examples/webgui.pl > WebGUI.html |
29 |
rm pod2htm?.tmp |
30 |
|
31 |
changelog: |
32 |
svk update && svk -v log > Changes |
33 |
|
34 |
webgui: all |
35 |
sudo umount /mnt2 || echo -n |
36 |
./examples/webgui.pl /data/WebGUI/etc/WebGUI.conf /mnt2 |
37 |
|
38 |
cpan: changelog disttest |
39 |
|
40 |
MAKE_MORE |
41 |
} |