Skip to content
Snippets Groups Projects
Commit f7cffc44 authored by Vincent Hanquez's avatar Vincent Hanquez
Browse files

cleanup .po->.mo makefile

parent a2b6a440
No related branches found
No related tags found
No related merge requests found
VERSION ?= 0.6.1
MODULES = src src/common
MODULES = src src/common po
PREFIX = /usr
DESTDIR = /
......@@ -19,9 +19,7 @@ SCRIPTS = \
all: translation trayicon idle pyo
translation:
for l in $(LANGS) ; do \
msgfmt po/$$l/LC_MESSAGES/gajim.po -o po/$$l/LC_MESSAGES/gajim.mo; \
done
make -C po all
trayicon:
make -C src all;
......
LANGS := fr pt_BR
LANGDIR := $(foreach lang, $(LANGS), $(subst ,/LC_MESSAGES/gajim.mo, $(lang)))
all: $(LANGDIR)
%.mo: %.po
msgfmt $< -o $@
clean:
find -name '*.mo' -exec rm {} \;
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment