gajim-plural/po/Makefile

17 lines
409 B
Makefile

top_srcdir = ../src/
NAME = gajim
LANGS := fr pt el pl es ru bg de nb cs nl pt_BR sv it eu sk no zh_CN
LANGDIR := $(foreach LANG, $(LANGS),$(LANG)/LC_MESSAGES/gajim.mo)
all: $(LANGDIR)
%.mo: %.po
msgfmt $< -o $@
gajim.pot: ../src/*py ../src/common/*py ../src/gtkgui.glade.h \
../src/history_manager.glade.h
intltool-update --pot --gettext-package=$(NAME)
clean:
find . -name '*.mo' -exec rm {} \;