Commit 1407e467 authored by Sebastian Ramacher's avatar Sebastian Ramacher

Add MSGFMT and MSGFMTFLAGS

parent 05b92f54
......@@ -72,6 +72,9 @@ CC ?= gcc
# strip
SFLAGS ?= -s
# msgfmt
MSGFMT ?= msgfmt
# valgrind
VALGRIND = valgrind
VALGRIND_ARGUMENTS = --tool=memcheck --leak-check=yes --leak-resolution=high \
......
......@@ -32,7 +32,7 @@ update-po: ${PROJECT}.pot
%/LC_MESSAGES/${PROJECT}.mo: %.po
@mkdir -p $(@D)
$(ECHO) msgfmt $(shell echo $< | sed 's/\.po//')
$(QUIET)msgfmt $< -o $@ -f -c
$(QUIET)${MSGFMT} ${MSGFMTFLAGS} -c $< -o $@
install: ${MOS}
$(ECHO) installing translations
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment