X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=perl%2FMakefile.PL.in;h=f7719604c7fa6022c2671afc9affbadf06ae592f;hb=13bf0c380e98816595127291b64368dd9b8ca639;hp=d023d3a5f94ddef6e9f69b99cbcf7962c422dcec;hpb=8645ef631b7b7b59ba766dfe8a0a52288a80b7e0;p=idzebra-moved-to-github.git diff --git a/perl/Makefile.PL.in b/perl/Makefile.PL.in index d023d3a..f771960 100644 --- a/perl/Makefile.PL.in +++ b/perl/Makefile.PL.in @@ -3,8 +3,8 @@ 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@", + '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' => { @@ -14,3 +14,10 @@ WriteMakefile( ); +sub MY::postamble { +'IDZebra_wrap.c: IDZebra.i + ./doswig' + ; +} + +