Ignore unpacked archive records-2014-12-15
[irspy-moved-to-github.git] / Makefile.PL
index 0566a8c..f906fc0 100644 (file)
@@ -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 <mike@indexdata.com>') : ()),
+    EXE_FILES    => [ 'bin/irspy.pl', 'bin/irspy-dump.pl' ],
 );