X-Git-Url: https://git.lttng.org/?p=lttng-ust.git;a=blobdiff_plain;f=doc%2Fexamples%2FMakefile.am;fp=doc%2Fexamples%2FMakefile.am;h=e7010a75a9229305704ea7eed80c8e3893d06547;hp=7ca99e0254fbaae9e3ec992fcf0c1b04bc2be0af;hb=8091b5d576a6053856e373c27ec0b2bdb01f428f;hpb=d6c337411ff702e11d466118853788b0425ca60c diff --git a/doc/examples/Makefile.am b/doc/examples/Makefile.am index 7ca99e02..e7010a75 100644 --- a/doc/examples/Makefile.am +++ b/doc/examples/Makefile.am @@ -215,9 +215,8 @@ all-local: if [ x"$(SUBDIRS_CMAKE)" != x"" ]; then \ for subdir in $(SUBDIRS_CMAKE); do \ ( \ - cd $$subdir && \ - $(MKDIR_P) build && \ - cd build && \ + $(MKDIR_P) $$subdir/build && \ + cd $$subdir/build && \ AR="$(AR)" \ CC="$(CC)" \ CXX="$(CXX)" \