16 lines
346 B
Makefile
16 lines
346 B
Makefile
top_srcdir = ../src/
|
|
NAME = gajim
|
|
LANGS := fr pt el pl es ru bg de nb cs nl
|
|
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
|
|
intltool-update --pot --gettext-package=$(NAME)
|
|
|
|
clean:
|
|
find . -name '*.mo' -exec rm {} \;
|