Tomb/extras/po/Makefile

14 lines
269 B
Makefile
Raw Normal View History

2014-08-11 20:56:26 +00:00
LOCALEDIR ?= /usr/share/locale
TOMBFILE = LC_MESSAGES/tomb.po
all:
@rm -f tomb.pot
@./generate_translatable_strings.sh > tomb.pot
@echo "Strings generated in tomb.pot"
2014-08-11 20:56:26 +00:00
install: *.mo
@install -Dm755 es.mo ${LOCALEDIR}/es/${TOMBFILE}
es.mo: es.po
msgfmt -o $@ $<