commit f7057b7d033f2aba05f1437f92d027c6e8d68e2b parent 76248f2d661de08414e9fceb311e1859afb6ed53 Author: Jaromil <jaromil@dyne.org> Date: Sun, 31 Aug 2014 09:24:48 +0200 Merge pull request #128 from gdrooid/po Fix translations makefile. Diffstat:
M | extras/po/Makefile | | | 10 | ++++++---- |
1 file changed, 6 insertions(+), 4 deletions(-)
diff --git a/extras/po/Makefile b/extras/po/Makefile @@ -1,13 +1,15 @@ LOCALEDIR ?= /usr/share/locale -TOMBFILE = LC_MESSAGES/tomb.po +TOMBFILE = LC_MESSAGES/tomb.mo all: @rm -f tomb.pot @./generate_translatable_strings.sh > tomb.pot @echo "Strings generated in tomb.pot" -install: *.mo - @install -Dm755 es.mo ${LOCALEDIR}/es/${TOMBFILE} +install: es.mo ru.mo fr.mo + @install -Dm644 es.mo ${LOCALEDIR}/es/${TOMBFILE} + @install -Dm644 ru.mo ${LOCALEDIR}/ru/${TOMBFILE} + @install -Dm644 fr.mo ${LOCALEDIR}/fr/${TOMBFILE} -es.mo: es.po +%.mo: %.po msgfmt -o $@ $<