projects
/
pspp
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
psppire-window: Avoid doubled separator in Windows menu.
[pspp]
/
perl-module
/
Makefile.PL
diff --git
a/perl-module/Makefile.PL
b/perl-module/Makefile.PL
index 40b14efdf66b894ecafee14c32e61608c03edd33..a315abbee2241363bd5c270e5af54297445e7d64 100644
(file)
--- a/
perl-module/Makefile.PL
+++ b/
perl-module/Makefile.PL
@@
-5,22
+5,24
@@
use ExtUtils::MakeMaker;
do 'pspp-module-config' || do {
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:", ""
);
+ my $
src = $top_srcdir
;
%Locations = (SourceDir => "$src", BuildDir => "$build");
};
WriteMakefile(
%Locations = (SourceDir => "$src", BuildDir => "$build");
};
WriteMakefile(
+ FULLPERL => "PSPP_TEST_CMD=\"$Locations{BuildDir}/src/ui/terminal/pspp\" \$(PERL)",
NAME => 'PSPP',
NAME => 'PSPP',
+ DISTNAME => 'PSPP-Perl',
VERSION_FROM => "$Locations{BuildDir}/src/libpspp/version.c",
PREREQ_PM => {POSIX=>0},
VERSION_FROM => "$Locations{BuildDir}/src/libpspp/version.c",
PREREQ_PM => {POSIX=>0},
+ PM => {"lib/PSPP.pm", "\$(INST_LIBDIR)/PSPP.pm"},
($] >= 5.005 ? ## Add these new keywords supported since 5.005
($] >= 5.005 ? ## Add these new keywords supported since 5.005
- (ABSTRACT
_FROM => 'lib/PSPP.pm', # retrieve abstract from module
+ (ABSTRACT
=> 'Perl extension to PSPP',
AUTHOR => 'John Darrington <john@darrington.wattle.id.au>') : ()),
INC => "-I $Locations{SourceDir} -I $Locations{SourceDir}/src -I $Locations{SourceDir}/gl -I $Locations{BuildDir}/gl -I $Locations{BuildDir}",
AUTHOR => 'John Darrington <john@darrington.wattle.id.au>') : ()),
INC => "-I $Locations{SourceDir} -I $Locations{SourceDir}/src -I $Locations{SourceDir}/gl -I $Locations{BuildDir}/gl -I $Locations{BuildDir}",
-
- MYEXTLIB => "$Locations{BuildDir}/src/.libs/libpspp-core\$(LIB_EXT)",
+ MYEXTLIB => "$Locations{BuildDir}/src/.libs/libpspp-core.\$(SO)",
MAN3PODS => {"lib/PSPP.pm", "\$(INST_MAN3DIR)/PSPP.3pm",
"Examples.pod", "\$(INST_MAN3DIR)/PSPP::Examples.3pm"}
);
MAN3PODS => {"lib/PSPP.pm", "\$(INST_MAN3DIR)/PSPP.3pm",
"Examples.pod", "\$(INST_MAN3DIR)/PSPP::Examples.3pm"}
);