From 13daaa667e876dba05b75b85cf548f875a734275 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jean-No=C3=ABl=20Avila?= <jn.avila@free.fr>
Date: Thu, 3 Jan 2019 18:53:54 +0100
Subject: [PATCH] Introduce quiet option in makefile.locale

---
 makefile.locale | 9 +++++++--
 1 file changed, 7 insertions(+), 2 deletions(-)

diff --git a/makefile.locale b/makefile.locale
index 1b15609..e1e4f6d 100644
--- a/makefile.locale
+++ b/makefile.locale
@@ -32,12 +32,17 @@ install-l10n:
 
 
 else
+ifndef V
+	QUIET_PO4A      = @echo '   ' PO4A $(lang) $@;
+	QUIET_ASCIIDOC	= @echo '   ' ASCIIDOC $(lang) $@;
+endif
+
 $(HTML_FILTER): %.html: %.txt
-	asciidoctor -b xhtml5 -d manpage $<
+	$(QUIET_ASCIIDOC)asciidoctor -b xhtml5 -d manpage $<
 
 MANPAGES=$(patsubst %.txt,%.1,$(MAN_FILTER))
 $(MANPAGES): %.1: %.txt
-	asciidoctor -b manpage -d manpage -o $@ $<
+	$(QUIET_ASCIIDOC)asciidoctor -b manpage -d manpage -o $@ $<
 
 man: $(MANPAGES)
 html: $(HTML_FILTER)
-- 
GitLab