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 |
Fuse => 0, |
10 |
POSIX => 0, |
11 |
}, # e.g., Module::Name => 1.1 |
12 |
($] >= 5.005 ? ## Add these new keywords supported since 5.005 |
13 |
(ABSTRACT_FROM => 'lib/Fuse/DBI.pm', # retrieve abstract from module |
14 |
AUTHOR => 'Dobrica Pavlinusic <dpavlin@rot13.org>') : ()), |
15 |
); |
16 |
|
17 |
sub MY::postamble { |
18 |
return <<'MAKE_MORE'; |
19 |
|
20 |
mount: |
21 |
mkdir -f /tmp/db |
22 |
sudo modprobe fuse |
23 |
sudo umount /tmp/db || exit 0 |
24 |
./fuse_dbi.pl /tmp/db |
25 |
sudo umount /tmp/db |
26 |
|
27 |
html: DBI.pm |
28 |
pod2html DBI.pm > DBI.html && rm pod2htm?.tmp |
29 |
|
30 |
MAKE_MORE |
31 |
} |