Fix: Python 3 binding compatibility and clean intermediate files.
authorJérémie Galarneau <jeremie.galarneau@efficios.com>
Sun, 20 Jan 2013 17:58:26 +0000 (12:58 -0500)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Sun, 20 Jan 2013 17:58:26 +0000 (12:58 -0500)
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
bindings/python/Makefile.am

index bf8050e99df59b3fa2d7cee3d677f627d8ef194e..536e07fdbaef4c640ae14aeb9bc32d98869b3b50 100644 (file)
@@ -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
This page took 0.032145 seconds and 4 git commands to generate.