From: Mathieu Desnoyers Date: Sat, 22 Jun 2013 16:08:31 +0000 (-0400) Subject: doc/examples: automake stop on error X-Git-Tag: v0.8.0~33 X-Git-Url: https://git.liburcu.org/?p=urcu.git;a=commitdiff_plain;h=828cd6e8c4906d279dc714bc60d61a0c50df4e26 doc/examples: automake stop on error Signed-off-by: Mathieu Desnoyers --- diff --git a/doc/examples/Makefile.am b/doc/examples/Makefile.am index d516bb6..d486864 100644 --- a/doc/examples/Makefile.am +++ b/doc/examples/Makefile.am @@ -80,11 +80,11 @@ SUBDIRS_PROXY = qsbr-minimal list hlist wfcqueue wfstack lfstack all-local: for subdir in $(SUBDIRS_PROXY); do \ - cd $$subdir && $(MAKE) AM_CPPFLAGS="-I../../../urcu/ -I../../../" AM_LDFLAGS='-L../../../.libs/ -Wl,-rpath="$(PWD)/../../.libs/"' $(AM_MAKEFLAGS) all; cd ..; \ + cd $$subdir && $(MAKE) AM_CPPFLAGS="-I../../../urcu/ -I../../../" AM_LDFLAGS='-L../../../.libs/ -Wl,-rpath="$(PWD)/../../.libs/"' $(AM_MAKEFLAGS) all && cd ..; \ done clean-local: for subdir in $(SUBDIRS_PROXY); do \ - cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) clean; cd ..; \ + cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) clean && cd ..; \ done endif