Split CMake example build steps on different lines
authorPhilippe Proulx <eeppeliteloop@gmail.com>
Fri, 8 Jul 2016 17:18:37 +0000 (13:18 -0400)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Fri, 8 Jul 2016 18:29:00 +0000 (14:29 -0400)
Signed-off-by: Philippe Proulx <eeppeliteloop@gmail.com>
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
doc/examples/Makefile.am

index 3cb3e3d7b12c031133fc93211412440c887fc952..50a534e81a767471d68fa37ed062fa4655e12c43 100644 (file)
@@ -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;
 
This page took 0.025457 seconds and 4 git commands to generate.