]> Git Repo - qemu.git/blobdiff - po/Makefile
target/arm: Pass TCGMemOpIdx to sve memory helpers
[qemu.git] / po / Makefile
index 705166e2d3c5d92bc753fac420f60fc1346fa042..e47e262ee668ef728651a323889e8dcdf0e8d8cc 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 \
+       $(call quiet-command, cd $(SRC_PATH) && \
+          xgettext -o - --from-code=UTF-8 --foreign-user --no-location \
            --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   $@")
-
-.PHONY: clean all
+       $(call quiet-command, msgmerge -q $@ $< > [email protected] && mv [email protected] $@,"GEN","$@")
This page took 0.023364 seconds and 4 git commands to generate.