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