X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=perl-module%2FMakefile.PL;h=44e184b467b3c3abe1fe887d032078708e8b6ea4;hb=9bd8bde378997bf189e6aceffe3da5d321d0a837;hp=a3b7b465adf80edf6708b40e95a4900e2784059f;hpb=6cb6efdc655c8932590696e611f1cca96e1ed807;p=pspp diff --git a/perl-module/Makefile.PL b/perl-module/Makefile.PL index a3b7b465ad..44e184b467 100644 --- a/perl-module/Makefile.PL +++ b/perl-module/Makefile.PL @@ -1,10 +1,26 @@ +# 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 . + use 5.008008; use ExtUtils::MakeMaker; # See lib/ExtUtils/MakeMaker.pm for details of how to influence # the contents of the Makefile that is written. -do 'pspp-module-config' || do { +do './pspp-module-config' || do { my $build = prompt ("Enter the location of the build directory of the configured pspp source:", "" ); my $src = $top_srcdir; @@ -19,7 +35,7 @@ WriteMakefile( PREREQ_PM => {POSIX=>0}, PM => {"lib/PSPP.pm", "\$(INST_LIBDIR)/PSPP.pm"}, ($] >= 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 ') : ()), 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)",