Subject: | Makefile in strawberry-perl |
Hi,
The makefile.pl doesn't work right on the strawberry-perl distro.
I hacked it up to work for me like so:
my $bin = 'bin';
opendir BIN, $bin or die $!;
my @exe_files = map "$bin/$_", grep { $_ !~ /^\./ } readdir BIN;
closedir BIN;
use ExtUtils::MakeMaker;
if ($^O eq 'MSWin32'){
WriteMakefile(
VERSION_FROM => 'README',
PREFIX => 'c:/strawberry-perl/perl/',
NAME => 'ppt',
EXE_FILES => \@exe_files,
)
} else{
WriteMakefile(
VERSION_FROM => 'README',
PREFIX => '/usr/local/ppt',
NAME => 'ppt',
EXE_FILES => \@exe_files,
)
}
Looking good so far, keep up the good work!