]> Git Repo - qemu.git/blobdiff - po/Makefile
char: useless NULL check
[qemu.git] / po / Makefile
index 1ab241a5b7f206cf7a6a8343d3f2200704bb7fca..cc630363dedfbe3bdab323ebe492fa533c02c29c 100644 (file)
@@ -9,6 +9,9 @@ all:
 
 .PHONY:        all build clean install update
 
+%.mo: %.po
+       $(call quiet-command, msgfmt -o $@ $<,"GEN","$@")
+
 -include ../config-host.mak
 include $(SRC_PATH)/rules.mak
 
@@ -29,7 +32,7 @@ update: $(SRCS)
 build: $(OBJS)
 
 clean:
-       $(RM) $(OBJS)
+       rm -f $(OBJS)
 
 install: $(OBJS)
        for obj in $(OBJS); do \
@@ -38,15 +41,12 @@ install: $(OBJS)
            $(INSTALL) -m644 $$obj $(DESTDIR)$(prefix)/share/locale/$$base/LC_MESSAGES/qemu.mo; \
        done
 
-%.mo: %.po
-       $(call quiet-command, msgfmt -o $@ $<, "  GEN   $@")
-
 $(PO_PATH)/messages.po: $(SRC_PATH)/ui/gtk.c
        $(call quiet-command, ( cd $(SRC_PATH) && \
           xgettext -o - --from-code=UTF-8 --foreign-user \
            --package-name=QEMU --package-version=$(VERSION) \
            [email protected] -k_ -C ui/gtk.c | \
-         sed -e s/CHARSET/UTF-8/) >$@, "  GEN   $@")
+         sed -e s/CHARSET/UTF-8/) >$@,"GEN","$@")
 
 $(PO_PATH)/%.po: $(PO_PATH)/messages.po
-       $(call quiet-command, msgmerge -q $@ $< > [email protected] && mv [email protected] $@, "  GEN   $@")
+       $(call quiet-command, msgmerge -q $@ $< > [email protected] && mv [email protected] $@,"GEN","$@")
This page took 0.025305 seconds and 4 git commands to generate.