Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/moses-smt/mosesdecoder.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbojar <bojar@1f5c12ca-751b-0410-a591-d2e778427230>2007-02-15 04:50:26 +0300
committerbojar <bojar@1f5c12ca-751b-0410-a591-d2e778427230>2007-02-15 04:50:26 +0300
commit2f4c70b4ae51634e6078a5ac45b6159dcb9d2f21 (patch)
tree4742a6cf163292fcdadfd278a37fa4747c60eb9b /regenerate-makefiles.sh
parent6eacf476f0b837f2a78b7d47e7f9a6f2caf00a56 (diff)
Die if aclocal, autoconf or automake fail
git-svn-id: https://mosesdecoder.svn.sourceforge.net/svnroot/mosesdecoder/trunk@1214 1f5c12ca-751b-0410-a591-d2e778427230
Diffstat (limited to 'regenerate-makefiles.sh')
-rwxr-xr-xregenerate-makefiles.sh11
1 files changed, 8 insertions, 3 deletions
diff --git a/regenerate-makefiles.sh b/regenerate-makefiles.sh
index c1fb8522f..75d48e86b 100755
--- a/regenerate-makefiles.sh
+++ b/regenerate-makefiles.sh
@@ -1,11 +1,16 @@
#!/bin/sh
+function die () {
+ echo "$@" >&2
+ exit 1
+}
+
echo "Calling aclocal..."
-aclocal
+aclocal || die "aclocal failed"
echo "Calling autoconf..."
-autoconf
+autoconf || die "autoconf failed"
echo "Calling automake..."
-automake
+automake || die "automake failed"
echo
echo "You should now be able to configure and build:"