From 068160b1fad829b0c19c09b9e119df42cbb4368b Mon Sep 17 00:00:00 2001 From: Philippe Proulx Date: Fri, 8 Jul 2016 13:18:37 -0400 Subject: [PATCH] Split CMake example build steps on different lines Signed-off-by: Philippe Proulx Signed-off-by: Mathieu Desnoyers --- doc/examples/Makefile.am | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) 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; -- 2.34.1