wok view tramys-client/stuff/Makefile @ rev 17184
Add phpfm
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Oct 02 12:33:11 2014 +0200 (2014-10-02) |
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 ]"