fix: use configured python when building the examples
[lttng-ust.git] / doc / examples / Makefile.am
index a7f52a04f7c69705288614c1c1e05d9b84a1ed87..c16210f43414564ed522ce14f694c92c74aea8a8 100644 (file)
@@ -132,6 +132,7 @@ all-local:
                        $(MAKE) all \
                                AR="$(AR)" \
                                CC="$(CC)" \
+                               PYTHON="$(PYTHON)" \
                                CPPFLAGS="$(CPPFLAGS)" \
                                AM_CPPFLAGS="$(AM_CPPFLAGS) \
                                -I$$rel_src_subdir$(top_srcdir)/include/ \
@@ -140,7 +141,7 @@ all-local:
                                AM_CFLAGS='$(AM_CFLAGS)' \
                                LDFLAGS="$(LDFLAGS)" \
                                AM_LDFLAGS='$(AM_LDFLAGS) -L../../../liblttng-ust/.libs -Wl,-rpath="$(PWD)/../../liblttng-ust/.libs/" -Wl,-rpath-link="$(PWD)/../../liblttng-ust/.libs/"' \
-                               LTTNG_GEN_TP_PATH="../../../tools/" \
+                               LTTNG_GEN_TP_PATH="$$rel_src_subdir$(top_srcdir)/tools/" \
                                AM_V_P="$(AM_V_P)" \
                                AM_V_at="$(AM_V_at)" \
                                $(AM_MAKEFLAGS) \
@@ -179,7 +180,7 @@ all-local:
                                AR="$(AR)" \
                                        CC="$(CC)" \
                                        CXX="$(CXX)" \
-                                       cmake \
+                                       $(CMAKE) \
                                        -DCMAKE_INCLUDE_PATH="$(abs_top_srcdir)/include;$(abs_top_builddir)/include" \
                                        -DCMAKE_LIBRARY_PATH="$(abs_top_builddir)/liblttng-ust/.libs" \
                                        -DCMAKE_C_FLAGS="$(AM_CFLAGS) $(CPPFLAGS) $(CFLAGS)" \
This page took 0.024768 seconds and 4 git commands to generate.