do 'pspp-module-config' || do {
- my $src = prompt ("Enter the location of the full pspp source","../pspp");
- my $build = prompt ("Enter the location of the pspp build directory", "$src" );
+ my $build = prompt ("Enter the location of the build directory of the configured pspp source:", "" );
+ do 'lib/pspp-vers.pl' || die "No version info";
+ my $src = $top_srcdir;
%Locations = (SourceDir => "$src", BuildDir => "$build");
};
WriteMakefile(
NAME => 'PSPP',
+ DISTNAME => 'PSPP-Perl',
VERSION_FROM => "$Locations{BuildDir}/src/libpspp/version.c",
PREREQ_PM => {POSIX=>0},
($] >= 5.005 ? ## Add these new keywords supported since 5.005