fix: python agent: Add a dependency on generated files
authorMichael Jeanson <mjeanson@debian.org>
Wed, 14 Jun 2023 20:21:32 +0000 (16:21 -0400)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Tue, 20 Jun 2023 17:49:21 +0000 (13:49 -0400)
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 <mjeanson@efficios.com>
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
python-lttngust/Makefile.am

index 6c0d20d5150b1104976a3d17488d859fb9aec719..b5154c0a68c0c0e3137963e72d80bc26b7f6be4a 100644 (file)
@@ -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:
This page took 0.023983 seconds and 4 git commands to generate.