wok view tramys-client/stuff/Makefile @ rev 23523
updated python-paste (1.7.2 -> 3.4.0)
author | Hans-G?nter Theisgen |
---|---|
date | Mon Apr 06 14:01:23 2020 +0100 (2020-04-06) |
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 ]"