From: Michael Jeanson Date: Wed, 14 Jun 2023 20:27:39 +0000 (-0400) Subject: Show python agent install output in verbose builds X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=9bc9229a85264edbc77888f1474a8f054c9ce79c;p=lttng-ust.git Show python agent install output in verbose builds When running 'make V=1' print the output of the python agent install command to help with debugging. Change-Id: I1c34f1c4302b914fa4c75fbdfbe8527886652565 Signed-off-by: Michael Jeanson Signed-off-by: Michael Jeanson Signed-off-by: Mathieu Desnoyers --- diff --git a/src/python-lttngust/Makefile.am b/src/python-lttngust/Makefile.am index d53e21da..ce3448d8 100644 --- a/src/python-lttngust/Makefile.am +++ b/src/python-lttngust/Makefile.am @@ -26,7 +26,7 @@ endif all-local: build-python-bindings.stamp copy-static-deps.stamp: $(addprefix $(srcdir)/, $(STATIC_BINDINGS_DEPS)) - @if [ x"$(srcdir)" != x"$(builddir)" ]; then \ + $(AM_V_at)if [ x"$(srcdir)" != x"$(builddir)" ]; then \ for file in $(STATIC_BINDINGS_DEPS); do \ cp -f $(srcdir)/$$file $(builddir)/$$file; \ done; \ @@ -37,11 +37,11 @@ copy-static-deps.stamp: $(addprefix $(srcdir)/, $(STATIC_BINDINGS_DEPS)) # This ease the installation process and assure a *pythonic* # installation. build-python-bindings.stamp: copy-static-deps.stamp $(GENERATED_BINDINGS_DEPS) - $(PYTHON) $(builddir)/setup.py build --force + $(AM_V_at)$(PYTHON) $(builddir)/setup.py build --force touch $@ install-exec-local: build-python-bindings.stamp - @opts="--prefix=$(prefix) --record $(INSTALLED_FILES) --verbose --no-compile $(DISTSETUPOPTS)"; \ + $(AM_V_at)opts="--prefix=$(prefix) --record $(INSTALLED_FILES) --verbose --no-compile $(DISTSETUPOPTS)"; \ if [ "$(DESTDIR)" != "" ]; then \ opts="$$opts --root=$(DESTDIR)"; \ fi; \ @@ -49,7 +49,7 @@ install-exec-local: build-python-bindings.stamp clean-local: rm -rf $(builddir)/build - @if [ x"$(srcdir)" != x"$(builddir)" ]; then \ + $(AM_V_at)if [ x"$(srcdir)" != x"$(builddir)" ]; then \ for file in $(STATIC_BINDINGS_DEPS); do \ rm -f $(builddir)/$$file; \ done; \