[Opensrf-commits] r1629 - trunk/src/perl

svn at svn.open-ils.org svn at svn.open-ils.org
Mon Jan 19 10:06:00 EST 2009


Author: sboyette
Date: 2009-01-19 10:05:58 -0500 (Mon, 19 Jan 2009)
New Revision: 1629

Added:
   trunk/src/perl/Makefile.am
Log:
initial checkin for perl Makefile.am


Added: trunk/src/perl/Makefile.am
===================================================================
--- trunk/src/perl/Makefile.am	                        (rev 0)
+++ trunk/src/perl/Makefile.am	2009-01-19 15:05:58 UTC (rev 1629)
@@ -0,0 +1,27 @@
+# Copyright (C) 2009 Equinox Software, Inc.
+# Shawn Boyette <sboyette at esilibrary.com>
+#
+# 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



More information about the opensrf-commits mailing list