From 8b098ba7e7f700aa6d63cba47bf56e006cbaace9 Mon Sep 17 00:00:00 2001 From: Richard Jones Date: Mon, 5 Oct 2009 15:10:08 +0100 Subject: Use msgfmt to generate *.mo files correctly. --- po/Makefile.in | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'po') 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) \ -- cgit