From 678c0c065aadcad7ca7176cb91039fa677b6ba68 Mon Sep 17 00:00:00 2001 From: Michael Jeanson Date: Wed, 14 Jun 2023 16:21:32 -0400 Subject: [PATCH] fix: python agent: Add a dependency on generated files This allows files to be regenerated at build time if the template was modified since the last build. Change-Id: I2f98d6b726552efd91719ada9637d2fc2909fbb3 Signed-off-by: Michael Jeanson Signed-off-by: Mathieu Desnoyers --- python-lttngust/Makefile.am | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/python-lttngust/Makefile.am b/python-lttngust/Makefile.am index 6c0d20d5..b5154c0a 100644 --- a/python-lttngust/Makefile.am +++ b/python-lttngust/Makefile.am @@ -1,7 +1,11 @@ +GENERATED_BINDINGS_DEPS = \ + lttngust/__init__.py \ + setup.py + # Use setup.py for the installation instead of Autoconf. # This ease the installation process and assure a *pythonic* # installation. -all-local: +all-local: $(GENERATED_BINDINGS_DEPS) $(PYTHON) setup.py build --verbose install-exec-local: -- 2.34.1