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) = @_;
|
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-*' },
|
||||||
|
Loading…
Reference in New Issue
Block a user