From: Bartosz Golaszewski Date: Mon, 27 Mar 2023 10:09:34 +0000 (+0200) Subject: build: use AM_V_GEN when calling external programs X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=9595913c8f7f876d9246a1984b7b2dfba2fadd61;p=qemu-gpiodev%2Flibgpiod.git build: use AM_V_GEN when calling external programs In order to output a status line in silent mode and the whole command in default mode, use the AM_V_GEN predefined automake variable when executing external programs like doxygen and help2man. Signed-off-by: Bartosz Golaszewski --- diff --git a/Makefile.am b/Makefile.am index 3807dca..b38bd9d 100644 --- a/Makefile.am +++ b/Makefile.am @@ -35,7 +35,7 @@ SUBDIRS += bindings if HAS_DOXYGEN doc: Doxyfile - @doxygen Doxyfile + $(AM_V_GEN)doxygen Doxyfile .PHONY: doc clean-local: diff --git a/man/Makefile.am b/man/Makefile.am index 1b52e0f..ddd0628 100644 --- a/man/Makefile.am +++ b/man/Makefile.am @@ -12,7 +12,7 @@ dist_man1_MANS = \ gpionotify.man %.man: $(top_builddir)/tools/$(*F) - help2man $(top_builddir)/tools/$(*F) --include=$(srcdir)/template --output=$(builddir)/$@ --no-info + $(AM_V_GEN)help2man $(top_builddir)/tools/$(*F) --include=$(srcdir)/template --output=$(builddir)/$@ --no-info clean-local: rm -f $(dist_man1_MANS)