[lttng-dev] [PATCH babeltrace python/bindings] Python-bindings fix: outdated dist target babeltrace.i

Jérémie Galarneau jeremie.galarneau at efficios.com
Sat Nov 23 16:30:59 EST 2013


This fixes the dist target for the python bindings. The
python-complements.h/.c files must be distributed, but not installed,
in order to build the python bindings.

Signed-off-by: Jérémie Galarneau <jeremie.galarneau at efficios.com>
---
 bindings/python/Makefile.am | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/bindings/python/Makefile.am b/bindings/python/Makefile.am
index b25ce92..2952454 100644
--- a/bindings/python/Makefile.am
+++ b/bindings/python/Makefile.am
@@ -3,14 +3,14 @@ babeltrace.i: babeltrace.i.in
 
 AM_CFLAGS = $(PYTHON_INCLUDE) -I$(top_srcdir)/include/
 
-EXTRA_DIST = babeltrace.i
-python_PYTHON = babeltrace.py
+EXTRA_DIST = babeltrace.i.in
+nodist_python_PYTHON = babeltrace.py
 pyexec_LTLIBRARIES = _babeltrace.la
 
 MAINTAINERCLEANFILES = babeltrace_wrap.c babeltrace.py
 
-_babeltrace_la_SOURCES = babeltrace_wrap.c python-complements.c
-
+nodist__babeltrace_la_SOURCES = babeltrace_wrap.c
+_babeltrace_la_SOURCES = python-complements.h python-complements.c
 _babeltrace_la_LDFLAGS = -module
 
 _babeltrace_la_CFLAGS = $(GLIB_CFLAGS) $(AM_CFLAGS)
-- 
1.8.4.2




More information about the lttng-dev mailing list