]> Git Repo - qemu.git/blobdiff - po/Makefile
qemu-iotests: Remove 091 from quick group
[qemu.git] / po / Makefile
index 705166e2d3c5d92bc753fac420f60fc1346fa042..b271f79ba2aa9711822be9ddf7b603b9e1f126c3 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
 
@@ -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 \
+       $(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   $@")
 
 $(PO_PATH)/%.po: $(PO_PATH)/messages.po
        $(call quiet-command, msgmerge -q $@ $< > [email protected] && mv [email protected] $@, "  GEN   $@")
-
-.PHONY: clean all
This page took 0.023711 seconds and 4 git commands to generate.