wok-current view tramys-client/stuff/Makefile @ rev 19610

busybox: replace 1.25 stuff by 1.26
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Jan 08 14:40:47 2017 +0100 (2017-01-08)
parents
children
line source
1 # Makefile for tramys-client
2 #
3 LINGUAS?=ru
5 pot:
6 xgettext -o po/tramys.pot -L Shell -k_ --package-name=tramys ./tramys2
8 msgmerge:
9 @for l in $(LINGUAS); do \
10 if [ -f "po/$$l.po" ]; then \
11 echo -n "Updating $$l po file."; \
12 msgmerge -U po/$$l.po po/tramys.pot ; \
13 fi; \
14 done
16 msgfmt:
17 @for l in $(LINGUAS); do \
18 if [ -f "po/$$l.po" ]; then \
19 echo -n "Compiling tramys $$l mo file... "; \
20 mkdir -p po/mo/$$l/LC_MESSAGES; \
21 msgfmt -o po/mo/$$l/LC_MESSAGES/tramys.mo po/$$l.po ; \
22 echo "done"; \
23 fi; \
24 done;
26 clean:
27 rm -rf po/mo
28 rm -f po/*~
29 rm -f po/*.mo
31 help:
32 @echo "make [ pot | msgmerge | msgfmt | clean ]"