From c8e14260be072c79e67a4986c11b2a3ff87f0521 Mon Sep 17 00:00:00 2001 From: Michael Jeanson Date: Thu, 21 Sep 2017 15:09:38 -0400 Subject: [PATCH] Fix: legacy python bindings Makefile MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit No need for build_ext, this is a pure python module. Add missing stamp file to CLEANFILES. Signed-off-by: Michael Jeanson Signed-off-by: Jérémie Galarneau --- bindings/python/babeltrace/Makefile.am | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) diff --git a/bindings/python/babeltrace/Makefile.am b/bindings/python/babeltrace/Makefile.am index b9f3eca8..a331b389 100644 --- a/bindings/python/babeltrace/Makefile.am +++ b/bindings/python/babeltrace/Makefile.am @@ -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 -- 2.34.1