projects
/
idzebra-moved-to-github.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Remove the obsolete rset public control variables. WS updates.
[idzebra-moved-to-github.git]
/
perl
/
Makefile.PL.in
diff --git
a/perl/Makefile.PL.in
b/perl/Makefile.PL.in
index
e5c1207
..
8d4eae1
100644
(file)
--- a/
perl/Makefile.PL.in
+++ b/
perl/Makefile.PL.in
@@
-1,10
+1,12
@@
use ExtUtils::MakeMaker;
use ExtUtils::MakeMaker;
+my $libs = `../idzebra-config --libs`;
+my $flags = `../idzebra-config --cflags`;
WriteMakefile(
'NAME' => 'IDZebra',
'OBJECT' => 'IDZebra_wrap.o zebra_perl.o' ,
WriteMakefile(
'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@",
+ 'INC' => $flags,
+ 'LIBS' => [$libs],
'OPTIMIZE' => '-g',
# 'PREREQ_FATAL' => 1,
'PREREQ_PM' => {
'OPTIMIZE' => '-g',
# 'PREREQ_FATAL' => 1,
'PREREQ_PM' => {
@@
-16,8
+18,7
@@
WriteMakefile(
sub MY::postamble {
'IDZebra_wrap.c: IDZebra.i
sub MY::postamble {
'IDZebra_wrap.c: IDZebra.i
- swig -I../include -v -Wall -perl -proxy ./IDZebra.i
- mv IDZebra.pm lib/'
+ ./doswig'
;
}
;
}