Python-bindings fix: outdated dist target babeltrace.i
PATCH 1/1 Python-bindings fix: outdated dist target babeltrace.i
In reply to a message not in the archiveThis 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.
--- bindings/python/Makefile.am | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-)
bindings/python/Makefile.am +4 -4
@@ -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)
Signature · 7 lines
1.8.4.2 _______________________________________________ lttng-dev mailing list [email protected] http://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev
----- Original Message -----
Quoted 8 lines
From: "Jérémie Galarneau" <[email protected]>
To: [email protected]
Sent: Saturday, November 23, 2013 4:30:59 PM
Subject: [lttng-dev] [PATCH babeltrace python/bindings] Python-bindings fix: outdated dist target babeltrace.iThis 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.
make distclean
make dist
cp the tarball elsewhere, extract
then, from other path:
path/to/babeltrace-1.1.1/configure --enable-python-bindings make -j4
make[3]: Entering directory `/tmp/z/bindings/python'
sed "s/BABELTRACE_VERSION_STR/Babeltrace 1.1.1/g" <babeltrace.i.in >babeltrace.i /bin/bash: babeltrace.i.in: No such file or directory
(with your patch applied)
Anything else missing ?
Thanks,
Mathieu
Quoted 38 lines
Signed-off-by Jérémie Galarneau <[email protected]>--- bindings/python/Makefile.am | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-)bindings/python/Makefile.am +4
-5@@ -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
_______________________________________________
lttng-dev mailing list
[email protected]
http://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev
Signature · 8 lines
Mathieu Desnoyers EfficiOS Inc. http://www.efficios.com _______________________________________________ lttng-dev mailing list [email protected] http://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev