]> git.evergreen-ils.org Git - OpenSRF.git/blob - src/perl/Makefile.am
cd7b88b496b83273db233914f4131f435d5d4446
[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 DISTCLEANFILES = Makefile.in Makefile
15
16 all:
17         perl Build.PL || make -s install-perl-fail
18
19 install-perl-fail:
20         echo
21         echo ">>> Installation of Perl modules has failed. The most likely"
22         echo ">>> possibility is that a dependency is not pre-installed"
23         echo ">>> or that a test has failed."
24         echo ">>> See the messages above this one for more information."
25         echo
26         exit 1
27
28 distclean-local:
29         rm -rf ./_build
30         rm -rf ./blib