diff options
author | Yaakov Selkowitz <yselkowitz@users.sourceforge.net> | 2010-03-17 17:37:05 -0500 |
---|---|---|
committer | Yaakov Selkowitz <yselkowitz@users.sourceforge.net> | 2010-03-17 17:37:05 -0500 |
commit | 0806c109793e66a4f9bfa56ab332a2a7acd9104c (patch) | |
tree | 5c061c466660f9242d7b044015fdff55a8cf8f19 | |
parent | 30cda4d7f3da334e4b0649c316c3a7611717137a (diff) |
Catch errors in recursive relink targetsxserver-cygwin-1.7.99.901-2
If make relink fails in a subdirectory, we need to catch the error
otherwise make will continue iterating the 'for' loop.
Signed-off-by: Yaakov Selkowitz <yselkowitz@users.sourceforge.net>
-rw-r--r-- | hw/Makefile.am | 2 | ||||
-rw-r--r-- | hw/kdrive/Makefile.am | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/hw/Makefile.am b/hw/Makefile.am index 92b007aca..6c2cc6bd4 100644 --- a/hw/Makefile.am +++ b/hw/Makefile.am @@ -38,4 +38,4 @@ SUBDIRS = \ DIST_SUBDIRS = dmx xfree86 vfb xnest xwin xquartz kdrive relink: - $(AM_V_at)for i in $(SUBDIRS) ; do $(MAKE) -C $$i relink ; done + $(AM_V_at)for i in $(SUBDIRS) ; do $(MAKE) -C $$i relink || exit 1 ; done diff --git a/hw/kdrive/Makefile.am b/hw/kdrive/Makefile.am index 55d940f40..471ca89dd 100644 --- a/hw/kdrive/Makefile.am +++ b/hw/kdrive/Makefile.am @@ -27,4 +27,4 @@ SUBDIRS = \ DIST_SUBDIRS = fbdev ephyr src linux fake relink: - $(AM_V_at)for i in $(SERVER_SUBDIRS) ; do $(MAKE) -C $$i relink ; done + $(AM_V_at)for i in $(SERVER_SUBDIRS) ; do $(MAKE) -C $$i relink || exit 1 ; done |