From c1851bf08176d2b387ba8257c2dd2b58516ec249 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=BD=D0=B0=D0=B1?= Date: Tue, 12 Apr 2022 00:56:32 +0200 Subject: [PATCH] Makefile: respect V=1 for checks MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Reviewed-by: Brian Behlendorf Signed-off-by: Ahelenia ZiemiaƄska Closes #13316 --- Makefile.am | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/Makefile.am b/Makefile.am index 688707ebd2..bafc0ab2ea 100644 --- a/Makefile.am +++ b/Makefile.am @@ -104,7 +104,7 @@ checkstyle: codecheck commitcheck PHONY += commitcheck commitcheck: - @if git rev-parse --git-dir > /dev/null 2>&1; then \ + $(AM_V_at)if git rev-parse --git-dir > /dev/null 2>&1; then \ ${top_srcdir}/scripts/commitcheck.sh; \ fi @@ -115,7 +115,7 @@ cstyle_line = -exec ${top_srcdir}/scripts/cstyle.pl -cpP {} + endif CHECKS += cstyle cstyle: - @find ${top_srcdir} -name build -prune \ + $(AM_V_at)find $(top_srcdir) -name build -prune \ -o -type f -name '*.[hc]' \ ! -name 'zfs_config.*' ! -name '*.mod.c' \ ! -name 'opt_global.h' ! -name '*_if*.h' \ @@ -129,7 +129,7 @@ cstyle: filter_executable = -exec test -x '{}' \; -print CHECKS += testscheck testscheck: - @[ $$(find $(top_srcdir)/tests/zfs-tests -type f \ + $(AM_V_at)[ $$(find $(top_srcdir)/tests/zfs-tests -type f \ \( -name '*.ksh' -not $(filter_executable) \) -o \ \( -name '*.kshlib' $(filter_executable) \) -o \ \( -name '*.shlib' $(filter_executable) \) -o \ @@ -138,7 +138,7 @@ testscheck: CHECKS += vcscheck vcscheck: - @if git rev-parse --git-dir > /dev/null 2>&1; then \ + $(AM_V_at)if git rev-parse --git-dir > /dev/null 2>&1; then \ git ls-files . --exclude-standard --others | \ awk '{c++; print} END {if(c>0) exit 1}' ; \ fi @@ -152,16 +152,16 @@ lint: cppcheck paxcheck PHONY += paxcheck paxcheck: - @if type scanelf > /dev/null 2>&1; then \ - ${top_srcdir}/scripts/paxcheck.sh ${top_builddir}; \ + $(AM_V_at)if type scanelf > /dev/null 2>&1; then \ + $(top_srcdir)/scripts/paxcheck.sh $(top_builddir); \ else \ echo "skipping paxcheck because scanelf is not installed"; \ fi CHECKS += flake8 flake8: - @if type flake8 > /dev/null 2>&1; then \ - flake8 ${top_srcdir}; \ + $(AM_V_at)if type flake8 > /dev/null 2>&1; then \ + flake8 $(top_srcdir); \ else \ echo "skipping flake8 because flake8 is not installed"; \ fi