Fix: Skip lttng-gen-tp example build if Python is missing
[lttng-ust.git] / doc / examples / Makefile.am
index e19af38c86d8e9e751b8cc8c1fb014b2fdb872a2..0d341c82dff97e81cf5c1079747997a7a448514e 100644 (file)
@@ -10,7 +10,6 @@ dist_doc_examples_java_jul_DATA = java-jul/Makefile \
                                                                  java-jul/Hello.java \
                                                                  java-jul/run
 SUBDIRS_JUL = java-jul
-bin_SCRIPTS = java-jul/Makefile
 endif
 
 dist_doc_examples_DATA = README
@@ -44,7 +43,11 @@ if NO_SHARED
 # disabled.
 else
 # Copies are for VPATH build support
-SUBDIRS_PROXY = easy-ust demo gen-tp hello-static-lib
+SUBDIRS_PROXY = easy-ust demo hello-static-lib
+
+if BUILD_GEN_TP_EXAMPLES
+SUBDIRS_PROXY += gen-tp
+endif
 
 all-local:
        @if [ x"$(srcdir)" != x"$(builddir)" ]; then \
This page took 0.043326 seconds and 4 git commands to generate.