mirror of
https://github.com/dkogan/feedgnuplot.git
synced 2025-12-19 17:21:10 +08:00
renamed main script feedGnuplot -> feedgnuplot
This commit is contained in:
16
Makefile.PL
16
Makefile.PL
@@ -9,33 +9,33 @@ 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 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',
|
||||
NAME => 'feedgnuplot',
|
||||
AUTHOR => q{Dima Kogan <dkogan@cds.caltech.edu>},
|
||||
VERSION_FROM => 'bin/feedGnuplot',
|
||||
ABSTRACT_FROM => 'bin/feedGnuplot',
|
||||
VERSION_FROM => 'bin/feedgnuplot',
|
||||
ABSTRACT_FROM => 'bin/feedgnuplot',
|
||||
($ExtUtils::MakeMaker::VERSION >= 6.3002
|
||||
? ('LICENSE' => 'perl')
|
||||
: ()),
|
||||
PL_FILES => {},
|
||||
EXE_FILES => [ 'bin/feedGnuplot' ],
|
||||
EXE_FILES => [ 'bin/feedgnuplot' ],
|
||||
PREREQ_PM => { 'Test::Script::Run' => 0},
|
||||
dist => { COMPRESS => 'gzip -9f', SUFFIX => 'gz', },
|
||||
clean => { FILES => 'feedGnuplot-*' },
|
||||
clean => { FILES => 'feedgnuplot-*' },
|
||||
);
|
||||
|
||||
# reroute the main POD into a separate README.pod if requested. This is here
|
||||
# purely to generate a README.pod for the github front page
|
||||
if(exists $ARGV[0] && $ARGV[0] eq 'README.pod')
|
||||
{
|
||||
open SCRIPT, 'bin/feedGnuplot' or die "Couldn't open main script";
|
||||
open SCRIPT, 'bin/feedgnuplot' or die "Couldn't open main script";
|
||||
open README, '>README.pod' or die "Couldn't open README.pod";
|
||||
while (<SCRIPT>)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user