From 05ff22f68ccac51a7f02da4d963a7c4bc327e64a Mon Sep 17 00:00:00 2001 From: Thomas Vander Stichele Date: Fri, 20 Jun 2008 16:29:23 +0000 Subject: [PATCH] scripts/cvs-update.sh: Pass arguments to make. Original commit message from CVS: * scripts/cvs-update.sh: Pass arguments to make. Run autoregen.sh if Makefile is not there. --- ChangeLog | 6 ++++++ scripts/cvs-update.sh | 16 ++++++++++++++-- 2 files changed, 20 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index 70043b7..ec1ec6c 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,11 @@ 2008-06-20 Thomas Vander Stichele + * scripts/cvs-update.sh: + Pass arguments to make. + Run autoregen.sh if Makefile is not there. + +2008-06-20 Thomas Vander Stichele + * configure.ac: * gst/gstinfo.c: Don't assume that exists just because diff --git a/scripts/cvs-update.sh b/scripts/cvs-update.sh index fb8ea28..a0437e1 100755 --- a/scripts/cvs-update.sh +++ b/scripts/cvs-update.sh @@ -23,14 +23,26 @@ for m in \ cd .. continue fi - make + if test ! -e Makefile + then + ./autoregen.sh + if test $? -ne 0 + then + FAILURE="$FAILURE$m: autoregen.sh\n" + cd .. + continue + fi + fi + + make $@ if test $? -ne 0 then FAILURE="$FAILURE$m: make\n" cd .. continue fi - make check + + make $@ check if test $? -ne 0 then FAILURE="$FAILURE$m: check\n" -- 2.7.4