Version bump (2.5-2)
[ukeyboard.git] / po / Makefile
blob0894fa6df4a0dc63d2de6f6cb869f66f64a86c1f
1 linguas = ca fi it sk uk_UA
3 all: po
5 update-po: ukeyboard.pot
6 @for lang in $(linguas); do \
7 msgmerge $$lang.po ukeyboard.pot -o $$lang.po.new; \
8 mv $$lang.po.new $$lang.po; \
9 done
11 po:
12 @for lang in $(linguas); do \
13 msgfmt -o $$lang.gmo $$lang.po; \
14 done
16 install: po
17 @for lang in $(linguas); do \
18 install -d $(DESTDIR)/usr/share/locale/$$lang/LC_MESSAGES; \
19 install -m 644 $$lang.gmo $(DESTDIR)/usr/share/locale/$$lang/LC_MESSAGES/ukeyboard.mo; \
20 done
22 ukeyboard.pot:
23 INTLTOOL_EXTRACT=intltool-extract srcdir=. intltool-update --gettext-package ukeyboard --pot
25 clean:
26 rm -f *.gmo ukeyboard.pot