]> git.ipfire.org Git - thirdparty/dovecot/core.git/commitdiff
lib: Add and use AM_V_Q
authorAki Tuomi <aki.tuomi@open-xchange.com>
Wed, 28 Sep 2022 09:17:19 +0000 (12:17 +0300)
committerAki Tuomi <aki.tuomi@open-xchange.com>
Wed, 28 Sep 2022 09:24:34 +0000 (12:24 +0300)
This silences output if verbose output is not desired.

src/lib/Makefile.am

index 20a0d7f26467f3db21e92ece5537ad2930cb19a8..001ac9e3bc8b8c56c8b325901c36feea4155c047 100644 (file)
@@ -15,6 +15,11 @@ EXTRA_DIST = unicodemap.c unicodemap.pl UnicodeData.txt
 LEX=/bin/false
 YACC=/bin/false
 
+AM_V_Q = $(am__v_Q_$(V))
+am__v_Q_ = $(am__v_Q_$(AM_DEFAULT_VERBOSITY))
+am__v_Q_0 = -q
+am__v_Q_1 =
+
 # We use custom rules here because we want to use flex and bison instead
 # of lex and yacc (or bison in yacc-compatibility mode).  Both flex and
 # bison can handle properly naming the generated files, and it is simpler
@@ -31,7 +36,7 @@ YACC=/bin/false
 event-filter-parser.h: event-filter-parser.c
 
 $(srcdir)/UnicodeData.txt:
-       $(AM_V_GEN)test -f $@ || wget -O $@ https://dovecot.org/res/UnicodeData.txt
+       $(AM_V_GEN)test -f $@ || wget $(AM_V_Q) -O $@ https://dovecot.org/res/UnicodeData.txt
 
 $(srcdir)/unicodemap.c: $(srcdir)/unicodemap.pl $(srcdir)/UnicodeData.txt
        $(AM_V_GEN)perl $(srcdir)/unicodemap.pl < $(srcdir)/UnicodeData.txt > $@