From e3825943861f31371ae9c157a9f75544313049b5 Mon Sep 17 00:00:00 2001 From: Marko Lindqvist Date: Fri, 17 Feb 2023 18:24:45 +0200 Subject: [PATCH 14/14] Respect automake silent mode on common/ build Have silent mode build configuration for - generate_packets.py - generate_gitrev.sh See osdn #46458 Signed-off-by: Marko Lindqvist --- common/Makefile.am | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/common/Makefile.am b/common/Makefile.am index 6d8863c3db..ba53c54c3d 100644 --- a/common/Makefile.am +++ b/common/Makefile.am @@ -159,8 +159,9 @@ BUILT_SOURCES = packets_gen.c packets_gen.h packets_gen.h packets_gen.c: packets_generate .INTERMEDIATE: packets_generate packets_generate: networking/packets.def generate_packets.py - cd $(srcdir) && ./generate_packets.py - touch packets_generate + @if ! $(AM_V_P) ; then echo " $@" ; fi + $(AM_V_at) cd $(srcdir) && ./generate_packets.py + $(AM_V_at) touch packets_generate # These files are not generated to builddir, but to srcdir */ MAINTAINERCLEANFILES = \ @@ -174,4 +175,6 @@ endif .PHONY : fc_gitrev_gen.h fc_gitrev_gen.h : - "$(top_srcdir)/bootstrap/generate_gitrev.sh" "$(top_srcdir)" "$(top_builddir)" + @if ! $(AM_V_P) ; then echo " $@" ; fi + $(AM_V_at) "$(top_srcdir)/bootstrap/generate_gitrev.sh" \ + "$(top_srcdir)" "$(top_builddir)" -- 2.39.1