mirror of
https://git.pwmt.org/pwmt/zathura.git
synced 2024-11-10 18:03:47 +01:00
Add MSGFMT and MSGFMTFLAGS
This commit is contained in:
parent
05b92f5417
commit
1407e46724
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user