fixed work-around for non-working fusermount, removed some debugging output
[Fuse-DBI] / Makefile.PL
index 3985582..d14f2c6 100644 (file)
@@ -10,26 +10,30 @@ WriteMakefile(
        'Fuse' => 0,
        'DBI' => 0,
        'Carp' => 0,
+       'File::Find' => 0,
     }, # e.g., Module::Name => 1.1
     ($] >= 5.005 ?     ## Add these new keywords supported since 5.005
       (ABSTRACT_FROM  => 'DBI.pm', # retrieve abstract from module
        AUTHOR         => 'Dobrica Pavlinusic <dpavlin@rot13.org>') : ()),
+    depend => {
+       dist => 'changelog',
+    },
 );
 
 sub MY::postamble {
        return <<'MAKE_MORE';
 
-mount:
-       mkdir -f /tmp/db
-       sudo modprobe fuse
-       sudo umount /tmp/db || exit 0
-       ./fuse_dbi.pl /tmp/db
-       sudo umount /tmp/db
-
 html: DBI.pm
        pod2html DBI.pm > DBI.html
        pod2html examples/webgui.pl > WebGUI.html
        rm pod2htm?.tmp
 
+changelog:
+       svn update && svn -v log > Changes
+
+webgui: all
+       sudo umount /mnt2 || echo -n
+       ./examples/webgui.pl /data/WebGUI/etc/WebGUI.conf /mnt2
+
 MAKE_MORE
 }