[OpenSRF-GIT] OpenSRF branch rel_1_6 updated. 51b8b9c4ef161fa81c26ffa4c6acab7c15f6d28c
Evergreen Git
git at git.evergreen-ils.org
Wed May 18 13:38:49 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 "OpenSRF".
The branch, rel_1_6 has been updated
via 51b8b9c4ef161fa81c26ffa4c6acab7c15f6d28c (commit)
from b02fda30dba4d74cbbd3844372bce8efa3132175 (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 51b8b9c4ef161fa81c26ffa4c6acab7c15f6d28c
Author: Dan Scott <dan at coffeecode.net>
Date: Wed May 18 10:23:18 2011 -0400
Teach Perl Makefile to build Build for every target
With the previous Perl Makefile.am, running "make check" before
running "make all" would fail on the Perl directory because it
assumed that Build would have been created from Build.PL. Factoring out
the build of Build from Build.PL and making that a prereq of the
pertinent targets avoids that problem on a clean checkout of the
OpenSRF source.
Signed-off-by: Dan Scott <dan at coffeecode.net>
diff --git a/src/perl/Makefile.am b/src/perl/Makefile.am
index 047b503..0d27bfa 100644
--- a/src/perl/Makefile.am
+++ b/src/perl/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:
src/perl/Makefile.am | 12 +++++++-----
1 files changed, 7 insertions(+), 5 deletions(-)
hooks/post-receive
--
OpenSRF
More information about the opensrf-commits
mailing list