X-Git-Url: http://git.indexdata.com/?p=irspy-moved-to-github.git;a=blobdiff_plain;f=Makefile.PL;h=f906fc0e145ff3b2bd2fd6ec3d6682ab52f02493;hp=056817219b36044423d476e07de94e575a99c07f;hb=e914bef9ba543abd4d0a40beec7d74d86e79e344;hpb=d95152c389214f65cf3a7d610968374e5c29a2a7 diff --git a/Makefile.PL b/Makefile.PL index 0568172..f906fc0 100644 --- a/Makefile.PL +++ b/Makefile.PL @@ -4,12 +4,11 @@ use strict; use warnings; use ExtUtils::MakeMaker; -my $yazver = `yaz-config --version`; +my $yazver = `yaz-client -V`; if (!$yazver) { die qq[ -ERROR: Unable to call script: yaz-config -If you are using a YAZ installation from the Debian package "yaz", you -will also need to install "libyaz-dev" in order to build this module. +ERROR: Unable to call program: yaz-client +Perhaps YAZ is not installed. Program yaz-client is part of package yaz. ]; } @@ -33,6 +32,7 @@ WriteMakefile( ($] >= 5.005 ? ## Add these new keywords supported since 5.005 (ABSTRACT_FROM => 'lib/ZOOM/IRSpy.pm', # retrieve abstract from module AUTHOR => 'Mike Taylor ') : ()), + EXE_FILES => [ 'bin/irspy.pl', 'bin/irspy-dump.pl' ], );