Parent Directory | Revision Log
use Data::Config from WebGUI installation to read configuration file and extract all needed data from it, added a lot of documentation and finished example for WebGUI
1 | dpavlin | 9 | 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 | dpavlin | 16 | 'POSIX' => 0, |
10 | 'Fuse' => 0, | ||
11 | 'DBI' => 0, | ||
12 | 'Carp' => 0, | ||
13 | dpavlin | 9 | }, # e.g., Module::Name => 1.1 |
14 | ($] >= 5.005 ? ## Add these new keywords supported since 5.005 | ||
15 | dpavlin | 11 | (ABSTRACT_FROM => 'DBI.pm', # retrieve abstract from module |
16 | dpavlin | 9 | 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 | dpavlin | 27 | pod2html DBI.pm > DBI.html |
31 | pod2html examples/webgui.pl > WebGUI.html | ||
32 | rm pod2htm?.tmp | ||
33 | dpavlin | 9 | |
34 | MAKE_MORE | ||
35 | } |
ViewVC Help | |
Powered by ViewVC 1.1.26 |