wok-6.x view tramys-client/stuff/Makefile @ rev 21979
updated stunnel (5.50 -> 5.55)
author | Hans-G?nter Theisgen |
---|---|
date | Fri Oct 11 17:49:32 2019 +0100 (2019-10-11) |
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 ]"