Removed some FIXMEs. Mostly comments on things that had already been fixed.
[idzebra-moved-to-github.git] / perl / Makefile.PL.in
index 5ead531..f771960 100644 (file)
@@ -3,14 +3,21 @@ 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_FATAL'  => 1,
               'PREREQ_PM'     => {
                   'Scalar::Util' => '1.0',
-                  'Test::More'   => '0.45',
+                  'Test::More'   => '0.40',
               }
        
               );
 
+sub MY::postamble {
+'IDZebra_wrap.c: IDZebra.i
+       ./doswig'
+       ;
+}
+
+