X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=perl%2FMakefile.PL.in;h=f7719604c7fa6022c2671afc9affbadf06ae592f;hb=5c42d0e2ea62bdf3a84977b094ae2fb96309b3c5;hp=70019e3c3b371cb634ae29763492a1a26b33ae6c;hpb=0ab0d03ddbebe9e882cc06ca0287a3e97850f0f4;p=idzebra-moved-to-github.git diff --git a/perl/Makefile.PL.in b/perl/Makefile.PL.in index 70019e3..f771960 100644 --- a/perl/Makefile.PL.in +++ b/perl/Makefile.PL.in @@ -1,11 +1,23 @@ use ExtUtils::MakeMaker; WriteMakefile( - 'NAME' => 'IDZebra', - 'OBJECT' => 'IDZebra_wrap.o zebra_perl.o' , - 'INC' => "-I../index -I../include @YAZINC@", - 'LIBS' => "-L../index -lzebra -L../data1 -ldata1 @TCL_LIB@ @YAZLIB@ @ZPERL_LIBS@", - 'OPTIMIZE' => '-g -O2' - + 'NAME' => 'IDZebra', + 'OBJECT' => 'IDZebra_wrap.o zebra_perl.o' , + 'INC' => "-I@top_srcdir@/index -I../include @YAZINC@", + 'LIBS' => "-L@top_srcdir@/index -lzebra @TCL_LIB@ @YAZLIB@ @ZPERL_LIBS@", + 'OPTIMIZE' => '-g', +# 'PREREQ_FATAL' => 1, + 'PREREQ_PM' => { + 'Scalar::Util' => '1.0', + 'Test::More' => '0.40', + } + ); +sub MY::postamble { +'IDZebra_wrap.c: IDZebra.i + ./doswig' + ; +} + +