making sure to not install extraneous files when building the deb

This commit is contained in:
Dima Kogan 2011-06-11 23:02:22 -07:00
parent 59eabc70f5
commit f8ba674a80

View File

@ -2,6 +2,19 @@ use strict;
use warnings; use warnings;
use ExtUtils::MakeMaker; use ExtUtils::MakeMaker;
sub MY::libscan
{
package MY;
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/;
return $self->SUPER::libscan ($file);
}
WriteMakefile WriteMakefile
( (
NAME => 'feedGnuplot', NAME => 'feedGnuplot',