Added gettext support to ukeyboard
[ukeyboard.git] / po / Makefile
blob193b8bef92f731cb6c2b3066a3e434c503c4b7b5
1 linguas = sk
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