X-Git-Url: http://git.indexdata.com/?p=irspy-moved-to-github.git;a=blobdiff_plain;f=Makefile.PL;h=f906fc0e145ff3b2bd2fd6ec3d6682ab52f02493;hp=0566a8c4c5ebca1fb3ee01f8ca72e13eb873927e;hb=e914bef9ba543abd4d0a40beec7d74d86e79e344;hpb=4601c83f5bdd52f8b68d824c70c478df1eef28e4 diff --git a/Makefile.PL b/Makefile.PL index 0566a8c..f906fc0 100644 --- a/Makefile.PL +++ b/Makefile.PL @@ -1,16 +1,14 @@ -# $Id: Makefile.PL,v 1.14 2007-05-09 12:04:36 mike Exp $ use 5.008; 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. ]; } @@ -34,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' ], );