qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] [PATCH 4/4] po/Makefile: Use macro quiet-command for nice l


From: Stefan Weil
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

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

Signed-off-by: Stefan Weil <address@hidden>
---
 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) \
            address@hidden -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 $@ $< > address@hidden && mv address@hidden $@
+       $(call quiet-command, msgmerge -q $@ $< > address@hidden && mv 
address@hidden $@, "  GEN   $@")
 
 .PHONY: clean all
-- 
1.7.10.4




reply via email to

[Prev in Thread] Current Thread [Next in Thread]