mirror of
https://github.com/dkogan/feedgnuplot.git
synced 2025-05-05 22:11:12 +08:00
making sure to not install extraneous files when building the deb
This commit is contained in:
parent
59eabc70f5
commit
f8ba674a80
13
Makefile.PL
13
Makefile.PL
@ -2,6 +2,19 @@ use strict;
|
||||
use warnings;
|
||||
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
|
||||
(
|
||||
NAME => 'feedGnuplot',
|
||||
|
Loading…
Reference in New Issue
Block a user