qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Stefan Weil <sw@weilnetz.de>
To: Anthony Liguori <aliguori@us.ibm.com>
Cc: Stefan Weil <sw@weilnetz.de>, qemu-devel <qemu-devel@nongnu.org>,
	Aurelien Jarno <aurelien@aurel32.net>
Subject: [Qemu-devel] [PATCH 4/4] po/Makefile: Use macro quiet-command for nice looking messages
Date: Fri,  5 Jul 2013 22:55:44 +0200	[thread overview]
Message-ID: <1373057744-20278-5-git-send-email-sw@weilnetz.de> (raw)
In-Reply-To: <1373057744-20278-1-git-send-email-sw@weilnetz.de>

Suppress also the "... done" message from msgmerge.

Signed-off-by: Stefan Weil <sw@weilnetz.de>
---
 po/Makefile |    9 +++++----
 1 file changed, 5 insertions(+), 4 deletions(-)

diff --git a/po/Makefile b/po/Makefile
index a6ab482..705166e 100644
--- a/po/Makefile
+++ b/po/Makefile
@@ -5,6 +5,7 @@
 SRC_PATH=..
 
 -include ../config-host.mak
+include $(SRC_PATH)/rules.mak
 
 PO_PATH=$(SRC_PATH)/po
 
@@ -33,16 +34,16 @@ install: $(OBJS)
 	done
 
 %.mo: %.po
-	@msgfmt -o $@ $<
+	$(call quiet-command, msgfmt -o $@ $<, "  GEN   $@")
 
 $(PO_PATH)/messages.po: $(SRC_PATH)/ui/gtk.c
-	@cd $(SRC_PATH) && \
+	$(call quiet-command, cd $(SRC_PATH) && \
 	 (xgettext -o - --from-code=UTF-8 --foreign-user \
 	    --package-name=QEMU --package-version=$(VERSION) \
 	    --msgid-bugs-address=qemu-devel@nongnu.org -k_ -C ui/gtk.c | \
-	  sed -e s/CHARSET/UTF-8/) >$@
+	  sed -e s/CHARSET/UTF-8/) >$@, "  GEN   $@")
 
 $(PO_PATH)/%.po: $(PO_PATH)/messages.po
-	@msgmerge $@ $< > $@.bak && mv $@.bak $@
+	$(call quiet-command, msgmerge -q $@ $< > $@.bak && mv $@.bak $@, "  GEN   $@")
 
 .PHONY: clean all
-- 
1.7.10.4

  parent reply	other threads:[~2013-07-05 20:55 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-07-05 20:55 [Qemu-devel] [PATH 0/4] po/Makefile: Fix regression and some minor issues Stefan Weil
2013-07-05 20:55 ` [Qemu-devel] [PATCH 1/4] po/Makefile: Fix and improve help message Stefan Weil
2013-07-05 20:55 ` [Qemu-devel] [PATCH 2/4] po/Makefile: Fix *.mo generation for out-of-tree builds (regression) Stefan Weil
2013-07-05 20:55 ` [Qemu-devel] [PATCH 3/4] po/Makefile: Fix generation of messages.po Stefan Weil
2013-07-05 20:55 ` Stefan Weil [this message]
2013-07-16  5:16 ` [Qemu-devel] [PATH 0/4] po/Makefile: Fix regression and some minor issues Stefan Weil
2013-07-18 19:52   ` Stefan Weil
2013-07-23 20:12     ` [Qemu-devel] [PATCH " Stefan Weil
2013-07-23 20:47       ` Anthony Liguori
2013-07-23 20:54         ` Anthony Liguori

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1373057744-20278-5-git-send-email-sw@weilnetz.de \
    --to=sw@weilnetz.de \
    --cc=aliguori@us.ibm.com \
    --cc=aurelien@aurel32.net \
    --cc=qemu-devel@nongnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).