[libxml-saxon-xslt2-perl] 04/18: Better way of testing for saxon9he.jar.

Jonas Smedegaard dr at jones.dk
Mon Aug 3 23:46:35 UTC 2015


This is an automated email from the git hooks/post-receive script.

js pushed a commit to tag 0.007
in repository libxml-saxon-xslt2-perl.

commit bd26b6eecb13201157e7c4334cfa52b01bdfbabb
Author: Toby Inkster <mail at tobyinkster.co.uk>
Date:   Thu Jul 15 12:28:50 2010 +0000

    Better way of testing for saxon9he.jar.
    
    --HG--
    branch : XML-Saxon-XSLT2
    extra : convert_revision : svn%3A3fe8e991-6959-4966-b76d-b07eca2b6e37/XML-Saxon-XSLT2%40424
---
 MANIFEST    | 1 -
 Makefile.PL | 7 ++++++-
 2 files changed, 6 insertions(+), 2 deletions(-)

diff --git a/MANIFEST b/MANIFEST
index c3cedbc..a4b44f1 100644
--- a/MANIFEST
+++ b/MANIFEST
@@ -20,7 +20,6 @@ inc/Module/Install/Makefile.pm
 inc/Module/Install/Can.pm
 inc/Module/Install/Base.pm
 inc/Module/Install/WriteAll.pm
-inc/Module/Install/NoAutomatedTesting.pm
 inc/Module/Install/Include.pm
 inc/Module/Install/ReadmeFromPod.pm
 inc/Module/Install/DOAPChangeSets.pm
diff --git a/Makefile.PL b/Makefile.PL
index bc9b210..72f0f2f 100644
--- a/Makefile.PL
+++ b/Makefile.PL
@@ -2,7 +2,12 @@ use strict;
 use warnings;
 
 use inc::Module::Install;
-no_auto_test;
+
+unless (-e '/usr/share/java/saxon9he.jar' or -e '/usr/local/share/java/saxon9he.jar')
+{
+	warn "Need saxon9he.jar in /usr/share/java or /usr/local/share/java.";
+	exit 0;
+}
 
 my $dist = 'XML-Saxon-XSLT2';
 my $fn   = "lib/$dist.pm"; $fn =~ s#-#/#g;

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/libxml-saxon-xslt2-perl.git



More information about the Pkg-perl-cvs-commits mailing list