]> git.evergreen-ils.org Git - OpenSRF.git/blob - src/perl/Makefile.am
50ac65595a53d66b2456f3c9e22d1c117a26971b
[OpenSRF.git] / src / perl / Makefile.am
1 # Copyright (C) 2009 Equinox Software, Inc.
2 # Shawn Boyette <sboyette@esilibrary.com>
3 #
4 # This program is free software; you can redistribute it and/or
5 # modify it under the terms of the GNU General Public License
6 # as published by the Free Software Foundation; either version 2
7 # of the License, or (at your option) any later version.
8 #
9 # This program is distributed in the hope that it will be useful,
10 # but WITHOUT ANY WARRANTY; without even the implied warranty of
11 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
12 # GNU General Public License for more details.
13
14 all:
15         cp Makefile Makefile.osrf
16         perl Makefile.PL || make -f Makefile.osrf -s install-perl-fail
17         make 
18         make test || make -f Makefile.osrf -s install-perl-fail
19
20 install-perl-fail:
21         echo
22         echo ">>> Installation of Perl modules has failed. The most likely"
23         echo ">>> possibility is that a dependency is not pre-installed"
24         echo ">>> or that a test has failed."
25         echo ">>> See the messages above this one for more information."
26         echo
27         exit 1