From 9bc9229a85264edbc77888f1474a8f054c9ce79c Mon Sep 17 00:00:00 2001 From: Michael Jeanson Date: Wed, 14 Jun 2023 16:27:39 -0400 Subject: [PATCH] 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 --- src/python-lttngust/Makefile.am | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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; \ -- 2.34.1