mirror of
https://github.com/Llewellynvdm/Tomb.git
synced 2024-12-23 10:38:59 +00:00
Fix translations makefile.
This commit is contained in:
parent
f794b78795
commit
dea3f8ff2d
@ -1,13 +1,15 @@
|
|||||||
LOCALEDIR ?= /usr/share/locale
|
LOCALEDIR ?= /usr/share/locale
|
||||||
TOMBFILE = LC_MESSAGES/tomb.po
|
TOMBFILE = LC_MESSAGES/tomb.mo
|
||||||
|
|
||||||
all:
|
all:
|
||||||
@rm -f tomb.pot
|
@rm -f tomb.pot
|
||||||
@./generate_translatable_strings.sh > tomb.pot
|
@./generate_translatable_strings.sh > tomb.pot
|
||||||
@echo "Strings generated in tomb.pot"
|
@echo "Strings generated in tomb.pot"
|
||||||
|
|
||||||
install: *.mo
|
install: es.mo ru.mo fr.mo
|
||||||
@install -Dm755 es.mo ${LOCALEDIR}/es/${TOMBFILE}
|
@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 $@ $<
|
msgfmt -o $@ $<
|
||||||
|
Loading…
Reference in New Issue
Block a user