From: Michael Jeanson Date: Wed, 22 Mar 2023 21:34:51 +0000 (-0400) Subject: Show python bindings install output in verbose builds X-Git-Url: http://git.efficios.com/?p=babeltrace.git;a=commitdiff_plain;h=e90ceff4a51fda1e0fc0dcb94f9e7f54aca93a58 Show python bindings install output in verbose builds When running 'make V=1' print the output of the python bindings install command to help with debugging. Change-Id: I33ffa5de1ce4d1957877630662615965a6c78b6f Signed-off-by: Michael Jeanson Reviewed-on: https://review.lttng.org/c/babeltrace/+/9694 Reviewed-by: Simon Marchi Tested-by: jenkins --- diff --git a/src/bindings/python/bt2/Makefile.am b/src/bindings/python/bt2/Makefile.am index aec0770b..124fadaf 100644 --- a/src/bindings/python/bt2/Makefile.am +++ b/src/bindings/python/bt2/Makefile.am @@ -151,8 +151,12 @@ $(builddir)/bt2/native_bt.c: $(SWIG_INTERFACE_FILES) -include bt2/native_bt.d +pyinstall_verbose = $(pyinstall_verbose_@AM_V@) +pyinstall_verbose_ = $(pyinstall_verbose_@AM_DEFAULT_V@) +pyinstall_verbose_0 = @ + install-exec-local: build-python-bindings.stamp - @opts="--prefix=$(prefix) --record $(INSTALLED_FILES) --verbose --no-compile $(DISTSETUPOPTS)"; \ + $(pyinstall_verbose)opts="--prefix=$(prefix) --record $(INSTALLED_FILES) --verbose --no-compile $(DISTSETUPOPTS)"; \ if [ "$(DESTDIR)" != "" ]; then \ opts="$$opts --root=$(DESTDIR)"; \ fi; \