From: Philippe Proulx Date: Fri, 8 Jul 2016 17:18:37 +0000 (-0400) Subject: Split CMake example build steps on different lines X-Git-Tag: v2.9.0-rc1~38 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=068160b1fad829b0c19c09b9e119df42cbb4368b;p=lttng-ust.git Split CMake example build steps on different lines Signed-off-by: Philippe Proulx Signed-off-by: Mathieu Desnoyers --- diff --git a/doc/examples/Makefile.am b/doc/examples/Makefile.am index 3cb3e3d7..50a534e8 100644 --- a/doc/examples/Makefile.am +++ b/doc/examples/Makefile.am @@ -145,7 +145,14 @@ all-local: fi; if [ x"$(SUBDIRS_CMAKE)" != x"" ]; then \ for subdir in $(SUBDIRS_CMAKE); do \ - (cd $(SUBDIRS_CMAKE) && mkdir -p build && cd build && cmake -DCMAKE_INCLUDE_PATH="$(abs_top_srcdir)/include;$(abs_top_builddir)/include" -DCMAKE_LIBRARY_PATH="$(abs_top_builddir)/liblttng-ust/.libs" .. && $(MAKE) && cd ..) || exit 1; \ + ( \ + cd $(SUBDIRS_CMAKE) && \ + mkdir -p build && \ + cd build && \ + cmake -DCMAKE_INCLUDE_PATH="$(abs_top_srcdir)/include;$(abs_top_builddir)/include" -DCMAKE_LIBRARY_PATH="$(abs_top_builddir)/liblttng-ust/.libs" .. && \ + $(MAKE) && \ + cd .. \ + ) || exit 1; \ done; \ fi;