[open-ils-commits] [GIT] Evergreen ILS branch master updated. 6218405eed57f4c67f4f6ffd0659e29ca423efe9
Evergreen Git
git at git.evergreen-ils.org
Wed May 18 13:20:17 EDT 2011
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Evergreen ILS".
The branch, master has been updated
via 6218405eed57f4c67f4f6ffd0659e29ca423efe9 (commit)
from 4abc3d760e90fcfad5676e8564bca3375736198b (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit 6218405eed57f4c67f4f6ffd0659e29ca423efe9
Author: Dan Scott <dan at coffeecode.net>
Date: Wed May 18 13:18:14 2011 -0400
Make Perl 'make check' work without 'make all'
Factor the build of Build from Build.PL into its own
make target and then make that target a prereq for the
other make targets so that we make Build from Build.PL
when we build Makefile from Makefile.am and run 'make check'
Clear?
Signed-off-by: Dan Scott <dscott at laurentian.ca>
diff --git a/Open-ILS/src/perlmods/Makefile.am b/Open-ILS/src/perlmods/Makefile.am
index 047b503..0d27bfa 100644
--- a/Open-ILS/src/perlmods/Makefile.am
+++ b/Open-ILS/src/perlmods/Makefile.am
@@ -14,16 +14,18 @@
CLEANFILES = Build
DISTCLEANFILES = Makefile.in Makefile
-all:
- perl Build.PL || make -s build-perl-fail
+all: build-perl
./Build || make -s build-perl-fail
-check:
+check: build-perl
./Build test || make -s build-perl-fail
-install:
+install: build-perl
./Build install
+build-perl:
+ perl Build.PL || make -s build-perl-fail
+
build-perl-fail:
echo
echo ">>> Build/test of Perl modules has failed. The most likely"
@@ -42,4 +44,4 @@ install-perl-fail:
distclean-local:
rm -rf ./_build
- rm -rf ./blib
\ No newline at end of file
+ rm -rf ./blib
-----------------------------------------------------------------------
Summary of changes:
Open-ILS/src/perlmods/Makefile.am | 12 +++++++-----
1 files changed, 7 insertions(+), 5 deletions(-)
hooks/post-receive
--
Evergreen ILS
More information about the open-ils-commits
mailing list