fix pruning tags + only prune files/dirs under @ARGV
[id3fs.git] / Makefile.PL
index 57ebb03..5ee546d 100644 (file)
@@ -2,17 +2,20 @@
 
 use ExtUtils::MakeMaker;
 
-my @binscripts=qw(id3fs-index);
+my @binscripts=qw(id3fs-index id3fs-tag);
 my @sbinscripts=qw(id3fsd);
 
 WriteMakefile(NAME=>"id3fs",
              VERSION=>"1.0",
              EXE_FILES=>[ map( "bin/$_", @binscripts) ],
              MAN1PODS=>{ map({ +"bin/$_" => "\${INST_MAN1DIR}/$_.1" } @binscripts) },
-             PREREQ_PM=>{ 'Fuse'        => 0,
-                          'DBI'         => 0,
-                          'DBD::SQLite' => 0} ,
-#            dist=>{ COMPRESS=>"gzip -9f", SUFFIX=>"gz", },
+             PREREQ_PM=>{ 'Fuse'                 => 0,
+                          'DBI'                  => 0,
+                          'DBD::SQLite'          => 0,
+                          'MP3::Tag'             => 0,
+                          'Audio::FLAC::Header'  => 0,
+                          'Ogg::Vorbis::Header'  => 0,
+             } ,
              ($] >= 5.005
               ? (ABSTRACT   => 'FUSE-based filesystem for browsing music metadata',
                  AUTHOR     => 'Ian Beckwith <ianb@erislabs.net>')
@@ -32,6 +35,7 @@ sub constants {
     my $add = q{
 
 # begin id3fs
+MAN1EXT = 1
 MAN8PODS = sbin/id3fsd
 INST_MAN8DIR = blib/man8
 INSTALLMAN8DIR = $(PERLPREFIX)/share/man/man8