mirror of
https://git.pwmt.org/pwmt/zathura.git
synced 2024-11-13 06:53:52 +01:00
Add MSGFMT and MSGFMTFLAGS
This commit is contained in:
parent
05b92f5417
commit
1407e46724
@ -72,6 +72,9 @@ CC ?= gcc
|
|||||||
# strip
|
# strip
|
||||||
SFLAGS ?= -s
|
SFLAGS ?= -s
|
||||||
|
|
||||||
|
# msgfmt
|
||||||
|
MSGFMT ?= msgfmt
|
||||||
|
|
||||||
# valgrind
|
# valgrind
|
||||||
VALGRIND = valgrind
|
VALGRIND = valgrind
|
||||||
VALGRIND_ARGUMENTS = --tool=memcheck --leak-check=yes --leak-resolution=high \
|
VALGRIND_ARGUMENTS = --tool=memcheck --leak-check=yes --leak-resolution=high \
|
||||||
|
@ -32,7 +32,7 @@ update-po: ${PROJECT}.pot
|
|||||||
%/LC_MESSAGES/${PROJECT}.mo: %.po
|
%/LC_MESSAGES/${PROJECT}.mo: %.po
|
||||||
@mkdir -p $(@D)
|
@mkdir -p $(@D)
|
||||||
$(ECHO) msgfmt $(shell echo $< | sed 's/\.po//')
|
$(ECHO) msgfmt $(shell echo $< | sed 's/\.po//')
|
||||||
$(QUIET)msgfmt $< -o $@ -f -c
|
$(QUIET)${MSGFMT} ${MSGFMTFLAGS} -c $< -o $@
|
||||||
|
|
||||||
install: ${MOS}
|
install: ${MOS}
|
||||||
$(ECHO) installing translations
|
$(ECHO) installing translations
|
||||||
|
Loading…
Reference in New Issue
Block a user