Fix: legacy python bindings Makefile
authorMichael Jeanson <mjeanson@efficios.com>
Thu, 21 Sep 2017 19:09:38 +0000 (15:09 -0400)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Thu, 2 Nov 2017 20:11:00 +0000 (16:11 -0400)
No need for build_ext, this is a pure python module.
Add missing stamp file to CLEANFILES.

Signed-off-by: Michael Jeanson <mjeanson@efficios.com>
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
bindings/python/babeltrace/Makefile.am

index b9f3eca8f0beb45c1323ae12648784481932eab4..a331b389f68b14f84f56b7a2ceb094db8d78603d 100644 (file)
@@ -5,18 +5,18 @@ AM_LDFLAGS=-L$(top_builddir)/lib/.libs
 
 INSTALLED_FILES=$(builddir)/installed_files.txt
 
-STATIC_BINDINGS_DEPS =                                         \
-       babeltrace/common.py                                    \
-       babeltrace/reader.py                                    \
+STATIC_BINDINGS_DEPS =                         \
+       babeltrace/common.py                    \
+       babeltrace/reader.py                    \
        babeltrace/reader_event_declaration.py  \
-       babeltrace/reader_event.py                              \
+       babeltrace/reader_event.py              \
        babeltrace/reader_field_declaration.py  \
        babeltrace/reader_field_definition.py   \
        babeltrace/reader_trace_collection.py   \
-       babeltrace/reader_trace_handle.py               \
+       babeltrace/reader_trace_handle.py       \
        babeltrace/writer.py
 
-GENERATED_BINDINGS_DEPS =              \
+GENERATED_BINDINGS_DEPS =                      \
        babeltrace/__init__.py                  \
        setup.py
 
@@ -32,7 +32,6 @@ copy-static-deps.stamp: $(STATIC_BINDINGS_DEPS)
        touch $@
 
 build-python-bindings.stamp: copy-static-deps.stamp $(GENERATED_BINDINGS_DEPS)
-       $(BUILD_FLAGS) $(PYTHON) $(builddir)/setup.py build_ext
        $(BUILD_FLAGS) $(PYTHON) $(builddir)/setup.py build
        touch $@
 
@@ -66,4 +65,4 @@ uninstall-local:
 EXTRA_DIST = $(STATIC_BINDINGS_DEPS)
 
 # clean: generated Python files and stamps
-CLEANFILES = copy-static-deps.stamp
+CLEANFILES = build-python-bindings.stamp copy-static-deps.stamp
This page took 0.025284 seconds and 4 git commands to generate.