This is an automatic generated email to let you know that the following patch 
were queued at the 
http://git.linuxtv.org/v4l-utils.git tree:

Subject: Fix Makefile error propagation
Author:  Hans de Goede <[email protected]>
Date:    Sun Jan 23 12:38:21 2011 +0100

We were handling the subdirs in utils/Makefile in such a way that make failing
in one of the subdirs would not abort the build.

Signed-off-By: Hans de Goede <[email protected]>

 utils/Makefile |    8 +++++---
 1 files changed, 5 insertions(+), 3 deletions(-)

---

http://git.linuxtv.org/v4l-utils.git?a=commitdiff;h=f51ac9f8b4dd0265575fd41ebaa36327309e4ae7

diff --git a/utils/Makefile b/utils/Makefile
index 935214f..bcce0fe 100644
--- a/utils/Makefile
+++ b/utils/Makefile
@@ -2,7 +2,7 @@ SUBDIRS=libv4l2util decode_tm6000 keytable rds v4l2-compliance 
v4l2-ctl v4l2-dbg
 
 all install: 
        @for i in $(SUBDIRS); do \
-               $(MAKE) -C $$i $@; \
+               $(MAKE) -C $$i $@ || exit 1; \
        done
 
        # Test if libsysfs is installed
@@ -11,14 +11,16 @@ all install:
        fi
 
        # Test whether qmake is installed, and whether it is for qt4.
-       @-if which qmake-qt4 >/dev/null 2>&1; then \
+       @if which qmake-qt4 >/dev/null 2>&1; then \
                QMAKE=qmake-qt4; \
        else \
                QMAKE=qmake; \
        fi; \
        if which $$QMAKE >/dev/null 2>&1; then \
                if $$QMAKE --version 2>&1 | grep '4\.[0-9][0-9]*\.[0-9][0-9]*' 
>/dev/null; then \
-                       if [ ! -f qv4l2/Makefile ]; then (cd qv4l2; $$QMAKE); 
fi; \
+                       if [ ! -f qv4l2/Makefile ]; then \
+                               (cd qv4l2 && $$QMAKE) || exit 1; \
+                       fi; \
                        $(MAKE) -C qv4l2 -f Makefile.install $@; \
                fi \
        fi

_______________________________________________
linuxtv-commits mailing list
[email protected]
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linuxtv-commits

Reply via email to