wok-6.x view tramys-client/stuff/Makefile @ rev 25537

Up aspell-pl (6.0_20230301-0)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Mar 02 15:43:53 2023 +0000 (20 months ago)
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 ]"