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