X-Git-Url: https://git.evergreen-ils.org/?p=OpenSRF.git;a=blobdiff_plain;f=src%2Fperl%2FMakefile.am;h=047b503466a1b750a7025e20dcd55143e9ede44b;hp=cd7b88b496b83273db233914f4131f435d5d4446;hb=d2bf9d3835de9249f740b510614d163260bc08b7;hpb=c80f6c20d75a5003ab1072704792be8a9025b1ae diff --git a/src/perl/Makefile.am b/src/perl/Makefile.am index cd7b88b..047b503 100644 --- a/src/perl/Makefile.am +++ b/src/perl/Makefile.am @@ -11,20 +11,35 @@ # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. +CLEANFILES = Build DISTCLEANFILES = Makefile.in Makefile all: - perl Build.PL || make -s install-perl-fail + perl Build.PL || make -s build-perl-fail + ./Build || make -s build-perl-fail -install-perl-fail: +check: + ./Build test || make -s build-perl-fail + +install: + ./Build install + +build-perl-fail: echo - echo ">>> Installation of Perl modules has failed. The most likely" + echo ">>> Build/test 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 +install-perl-fail: + echo + echo ">>> Install of Perl modules has failed." + echo ">>> Are you root?" + echo ">>> See the message above this one for more information." + echo + distclean-local: rm -rf ./_build rm -rf ./blib \ No newline at end of file