From: Michael Jeanson Date: Wed, 14 Jun 2023 20:21:32 +0000 (-0400) Subject: fix: python agent: Add a dependency on generated files X-Git-Tag: v2.12.9~8 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=678c0c065aadcad7ca7176cb91039fa677b6ba68;p=lttng-ust.git 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 --- 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: