From 9595913c8f7f876d9246a1984b7b2dfba2fadd61 Mon Sep 17 00:00:00 2001 From: Bartosz Golaszewski Date: Mon, 27 Mar 2023 12:09:34 +0200 Subject: [PATCH] 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 --- Makefile.am | 2 +- man/Makefile.am | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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) -- 2.30.2