summaryrefslogtreecommitdiffstats
path: root/po
diff options
context:
space:
mode:
authorRichard Jones <rjones@trick.home.annexia.org>2009-10-05 15:10:08 +0100
committerRichard Jones <rjones@trick.home.annexia.org>2009-10-05 15:10:08 +0100
commit8b098ba7e7f700aa6d63cba47bf56e006cbaace9 (patch)
tree157a6f9909e4c1038b63cba8048e6f9de414a54a /po
parent48f0200652a112c022440f2fe5d876207861f16a (diff)
downloadvirt-top-8b098ba7e7f700aa6d63cba47bf56e006cbaace9.tar.gz
virt-top-8b098ba7e7f700aa6d63cba47bf56e006cbaace9.tar.xz
virt-top-8b098ba7e7f700aa6d63cba47bf56e006cbaace9.zip
Use msgfmt to generate *.mo files correctly.
Diffstat (limited to 'po')
-rw-r--r--po/Makefile.in5
1 files changed, 3 insertions, 2 deletions
diff --git a/po/Makefile.in b/po/Makefile.in
index 9398e2f..949c2d9 100644
--- a/po/Makefile.in
+++ b/po/Makefile.in
@@ -22,6 +22,8 @@ OCAML_GETTEXT_PACKAGE = virt-top
LINGUAS = $(shell cat LINGUAS)
SOURCES = POTFILES
+MSGFMT = @MSGFMT@
+
OCAML_GETTEXT = @OCAML_GETTEXT@
OCAML_GETTEXT_EXTRACT_OPTIONS =
OCAML_GETTEXT_COMPILE_OPTIONS =
@@ -43,8 +45,7 @@ uninstall: uninstall-po
clean:: clean-po
%.mo: %.po
- $(OCAML_GETTEXT) --action compile $(OCAML_GETTEXT_COMPILE_OPTIONS) \
- --compile-output $@ $^
+ $(MSGFMT) -o $@ $^
%.pot: $(SOURCES) $(shell cat $(SOURCES))
$(OCAML_GETTEXT) --action extract $(OCAML_GETTEXT_EXTRACT_OPTIONS) \