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 |
); |
19 |
|
20 |
sub MY::postamble { |
21 |
return <<'MAKE_MORE'; |
22 |
|
23 |
mount: |
24 |
mkdir -f /tmp/db |
25 |
sudo modprobe fuse |
26 |
sudo umount /tmp/db || exit 0 |
27 |
./fuse_dbi.pl /tmp/db |
28 |
sudo umount /tmp/db |
29 |
|
30 |
html: DBI.pm |
31 |
pod2html DBI.pm > DBI.html |
32 |
pod2html examples/webgui.pl > WebGUI.html |
33 |
rm pod2htm?.tmp |
34 |
|
35 |
MAKE_MORE |
36 |
} |