X-Git-Url: https://git.lttng.org/?a=blobdiff_plain;f=src%2Fpython-lttngust%2FMakefile.am;h=64800e6fafd53587eadc5e94f6dbd8dba7858674;hb=a3ff547e7a1a4eff8cac7a5828d87b1c5c105c8e;hp=f95482d3e15822dcffe2698a21d3ce40391855d2;hpb=cb80e2fb106d56b4a0ae9c0480a368572f4d0d35;p=lttng-ust.git diff --git a/src/python-lttngust/Makefile.am b/src/python-lttngust/Makefile.am index f95482d3..64800e6f 100644 --- a/src/python-lttngust/Makefile.am +++ b/src/python-lttngust/Makefile.am @@ -10,6 +10,10 @@ STATIC_BINDINGS_DEPS = \ lttngust/debug.py \ lttngust/loghandler.py +GENERATED_BINDINGS_DEPS = \ + lttngust/version.py \ + setup.py + all-local: build-python-bindings.stamp copy-static-deps.stamp: $(addprefix $(srcdir)/, $(STATIC_BINDINGS_DEPS)) @@ -23,7 +27,7 @@ copy-static-deps.stamp: $(addprefix $(srcdir)/, $(STATIC_BINDINGS_DEPS)) # Use setup.py for the installation instead of Autoconf. # This ease the installation process and assure a *pythonic* # installation. -build-python-bindings.stamp: copy-static-deps.stamp +build-python-bindings.stamp: copy-static-deps.stamp $(GENERATED_BINDINGS_DEPS) $(PYTHON) $(builddir)/setup.py build --force touch $@