cleanup in po Makefile
This commit is contained in:
parent
78cd90e43d
commit
7c996678ea
|
@ -1,7 +1,7 @@
|
||||||
top_srcdir = ../src/
|
top_srcdir = ../src/
|
||||||
NAME = gajim
|
NAME = gajim
|
||||||
LANGS := fr pt el pl es ru bg de
|
LANGS := fr pt el pl es ru bg de
|
||||||
LANGDIR := $(foreach lang, $(LANGS), $(subst ,/LC_MESSAGES/gajim.mo, $(lang)))
|
LANGDIR := $(foreach LANG, $(LANGS),$(LANG)/LC_MESSAGES/gajim.mo)
|
||||||
|
|
||||||
all: $(LANGDIR)
|
all: $(LANGDIR)
|
||||||
|
|
||||||
|
@ -9,7 +9,7 @@ all: $(LANGDIR)
|
||||||
msgfmt $< -o $@
|
msgfmt $< -o $@
|
||||||
|
|
||||||
gajim.pot: ../src/*py ../src/common/*py
|
gajim.pot: ../src/*py ../src/common/*py
|
||||||
intltool-update --pot --gettext-package=$(NAME)
|
intltool-update --pot --gettext-package=$(NAME)
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
find . -name '*.mo' -exec rm {} \;
|
find . -name '*.mo' -exec rm {} \;
|
||||||
|
|
Loading…
Reference in New Issue