]> git.proxmox.com Git - mirror_qemu.git/blobdiff - po/Makefile
i386: Replace uint32_t* with FeatureWord on feature getter/setter
[mirror_qemu.git] / po / Makefile
index 669f8654a608be6e5f811ba23b0b4a16ff8f212f..cc630363dedfbe3bdab323ebe492fa533c02c29c 100644 (file)
@@ -4,6 +4,14 @@
 # Set SRC_PATH for in-tree builds without configuration.
 SRC_PATH=..
 
+# The default target must come before any include statements.
+all:
+
+.PHONY:        all build clean install update
+
+%.mo: %.po
+       $(call quiet-command, msgfmt -o $@ $<,"GEN","$@")
+
 -include ../config-host.mak
 include $(SRC_PATH)/rules.mak
 
@@ -24,7 +32,7 @@ update: $(SRCS)
 build: $(OBJS)
 
 clean:
-       $(RM) $(OBJS)
+       rm -f $(OBJS)
 
 install: $(OBJS)
        for obj in $(OBJS); do \
@@ -33,17 +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) \
            --msgid-bugs-address=qemu-devel@nongnu.org -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 $@ $< > $@.bak && mv $@.bak $@, "  GEN   $@")
-
-.PHONY: clean all
+       $(call quiet-command, msgmerge -q $@ $< > $@.bak && mv $@.bak $@,"GEN","$@")