Makefile.PL now handles the new POD structure

This commit is contained in:
Dima Kogan 2012-08-31 11:30:24 -07:00
parent 0c18ccc7db
commit 01de359dcd

View File

@ -23,23 +23,25 @@ sub MY::libscan
my ($self, $file) = @_; my ($self, $file) = @_;
# Don't install the README.pod or any non-feedgnuplot .pl file # Don't install any symlinks (i.e. README.pod)
return undef if $file !~ /feedgnuplot.pl/ && $file =~ /\.pl$|^README.pod/; return undef if -l $file;
return $self->SUPER::libscan ($file); return $self->SUPER::libscan ($file);
} }
WriteMakefile WriteMakefile
( (
NAME => 'feedgnuplot', NAME => 'feedgnuplot',
AUTHOR => q{Dima Kogan <dima@secretsauce.net>}, AUTHOR => q{Dima Kogan <dima@secretsauce.net>},
VERSION => parseversion(), VERSION => parseversion(),
ABSTRACT_FROM => 'bin/feedgnuplot', ABSTRACT_FROM => 'bin/feedgnuplot.pod',
($ExtUtils::MakeMaker::VERSION >= 6.3002 ($ExtUtils::MakeMaker::VERSION >= 6.3002
? ('LICENSE' => 'perl') ? ('LICENSE' => 'perl')
: ()), : ()),
PL_FILES => {}, PL_FILES => {},
EXE_FILES => [ 'bin/feedgnuplot' ], EXE_FILES => [ 'bin/feedgnuplot' ],
MAN1PODS => { 'bin/feedgnuplot.pod' => 'blib/man1/feedgnuplot.1' },
PREREQ_PM => { 'Test::Script::Run' => 0}, PREREQ_PM => { 'Test::Script::Run' => 0},
dist => { COMPRESS => 'gzip -9f', SUFFIX => 'gz', }, dist => { COMPRESS => 'gzip -9f', SUFFIX => 'gz', },
clean => { FILES => 'feedgnuplot-*' }, clean => { FILES => 'feedgnuplot-*' },