summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2008-03-01 09:42:36 +0100
committerKlaus Schmidinger <vdr@tvdr.de>2008-03-01 09:42:36 +0100
commit24972170960de056d5754aaa5360257f00d0a804 (patch)
treeb0d1e0c62c7aa925d7d81911d80349d0fcb82741 /Makefile
parente2c35828346341d95557939791642ba3b50c401f (diff)
downloadvdr-24972170960de056d5754aaa5360257f00d0a804.tar.gz
vdr-24972170960de056d5754aaa5360257f00d0a804.tar.bz2
The 'plugins' target in the Makefile now returns an error exit code if one of the plugins failed to compile
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index bbf67034..b07b1dfb 100644
--- a/Makefile
+++ b/Makefile
@@ -4,7 +4,7 @@
# See the main source file 'vdr.c' for copyright information and
# how to reach the author.
#
-# $Id: Makefile 1.112 2008/01/13 12:53:17 kls Exp $
+# $Id: Makefile 1.113 2008/02/29 21:43:03 kls Exp $
.DELETE_ON_ERROR:
@@ -153,7 +153,7 @@ plugins: include-dir
$(MAKE) -C "$(PLUGINDIR)/src/$$i" all || failed="$$failed $$i";\
done;\
if [ -n "$$noapiv" ] ; then echo; echo "*** plugins without APIVERSION:$$noapiv"; echo; fi;\
- if [ -n "$$failed" ] ; then echo; echo "*** failed plugins:$$failed"; echo; fi
+ if [ -n "$$failed" ] ; then echo; echo "*** failed plugins:$$failed"; echo; exit 1; fi
clean-plugins:
@for i in `ls $(PLUGINDIR)/src | grep -v '[^a-z0-9]'`; do $(MAKE) -C "$(PLUGINDIR)/src/$$i" clean; done