From 714d065c8de9177f603e2461b2cbd0726666c038 Mon Sep 17 00:00:00 2001 From: sboyette Date: Mon, 19 Jan 2009 15:05:58 +0000 Subject: [PATCH 1/1] initial checkin for perl Makefile.am git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@1629 9efc2488-bf62-4759-914b-345cdb29e865 --- src/perl/Makefile.am | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 src/perl/Makefile.am diff --git a/src/perl/Makefile.am b/src/perl/Makefile.am new file mode 100644 index 0000000..50ac655 --- /dev/null +++ b/src/perl/Makefile.am @@ -0,0 +1,27 @@ +# Copyright (C) 2009 Equinox Software, Inc. +# Shawn Boyette +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License +# as published by the Free Software Foundation; either version 2 +# of the License, or (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. + +all: + cp Makefile Makefile.osrf + perl Makefile.PL || make -f Makefile.osrf -s install-perl-fail + make + make test || make -f Makefile.osrf -s install-perl-fail + +install-perl-fail: + echo + echo ">>> Installation of Perl modules has failed. The most likely" + echo ">>> possibility is that a dependency is not pre-installed" + echo ">>> or that a test has failed." + echo ">>> See the messages above this one for more information." + echo + exit 1 -- 2.43.2