mirror of
https://github.com/dkogan/feedgnuplot.git
synced 2025-05-05 22:11:12 +08:00
Makefile.PL now handles the new POD structure
This commit is contained in:
parent
0c18ccc7db
commit
01de359dcd
@ -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 <dima@secretsauce.net>},
|
||||
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-*' },
|
||||
|
Loading…
Reference in New Issue
Block a user