X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;ds=inline;f=perl-module%2FMakefile.PL;h=3d02cdc9a96fed72759e51b86cbcd77c610097ed;hb=df1d194af32e35739355981252785e768f21ebb0;hp=44e184b467b3c3abe1fe887d032078708e8b6ea4;hpb=d573464ad00fdb72c27e3c36d8f862ef99249431;p=pspp
diff --git a/perl-module/Makefile.PL b/perl-module/Makefile.PL
index 44e184b467..3d02cdc9a9 100644
--- a/perl-module/Makefile.PL
+++ b/perl-module/Makefile.PL
@@ -1,16 +1,16 @@
# PSPP - a program for statistical analysis.
# Copyright (C) 2019 Free Software Foundation, Inc.
-#
+#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
-#
+#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
-#
+#
# You should have received a copy of the GNU General Public License
# along with this program. If not, see .
@@ -28,16 +28,17 @@ do './pspp-module-config' || do {
};
WriteMakefile(
+ MAKEFILE => 'MakefileX',
FULLPERL => "PSPP_TEST_CMD=\"$Locations{BuildDir}/src/ui/terminal/pspp\" \$(PERL)",
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
(ABSTRACT => 'Perl extension to PSPP',
AUTHOR => 'John Darrington ') : ()),
- INC => "-I $Locations{SourceDir} -I $Locations{SourceDir}/src -I $Locations{SourceDir}/gl -I $Locations{BuildDir}/gl -I $Locations{BuildDir}",
+ 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.\$(SO)",
MAN3PODS => {"lib/PSPP.pm", "\$(INST_MAN3DIR)/PSPP.3pm",
"Examples.pod", "\$(INST_MAN3DIR)/PSPP::Examples.3pm"}