[lttng-dev] [PATCH babeltrace 2/3] Fix: Python 3 binding compatibility and clean intermediate files.
Jérémie Galarneau
jeremie.galarneau at efficios.com
Fri Jan 18 11:45:33 EST 2013
Signed-off-by: Jérémie Galarneau <jeremie.galarneau at efficios.com>
---
bindings/python/Makefile.am | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
diff --git a/bindings/python/Makefile.am b/bindings/python/Makefile.am
index bf8050e..536e07f 100644
--- a/bindings/python/Makefile.am
+++ b/bindings/python/Makefile.am
@@ -23,6 +23,5 @@ _babeltrace_la_LIBADD = $(top_srcdir)/formats/ctf/libbabeltrace-ctf.la \
# SWIG 'warning md variable unused' fixed after SWIG build:
babeltrace_wrap.c: babeltrace.i
$(SWIG) -python -Wall -I. -I$(top_srcdir)/include babeltrace.i
- sed -i "s/PyObject \*m, \*d, \*md;/PyObject \*m, \*d;\n#if defined(SWIGPYTHON_BUILTIN)\nPyObject *md;\n#endif/g" babeltrace_wrap.c
- sed -i "s/md = d/d/g" babeltrace_wrap.c
- sed -i "s/(void)public_symbol;/(void)public_symbol;\n md = d;/g" babeltrace_wrap.c
+
+CLEANFILES = babeltrace.i babeltrace.py babeltrace_wrap.c
--
1.8.1.1
More information about the lttng-dev
mailing list