slitaz-tools view Makefile @ rev 558
tazdrop: add support for *.ico
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Mon Apr 18 05:03:13 2011 +0200 (2011-04-18) |
parents | d89081e15839 |
children | 6da712ba04f2 |
line source
1 # Makefile for SliTaz tools.
2 # Check the README for more information.
3 #
4 PREFIX?=/usr
5 DOCDIR?=/usr/share/doc
6 DESTDIR?=
7 TINYUTILS?=subox scpbox tazctrlbox
8 LINGUAS?=fr pt
10 all:
12 # i18n.
14 tazbox-pot:
15 xgettext -o po/tazbox/tazbox.pot -L Shell \
16 --package-name="TazBox" ./tazbox/tazbox
18 tazdrop-pot:
19 xgettext -o po/tazdrop/tazdrop.pot -L Shell \
20 --package-name="TazDrop" ./tazdrop/tazdrop
22 pot: tazbox-pot tazdrop-pot
23 @for p in $(TINYUTILS); do \
24 echo -n "Generating $$p pot file... "; \
25 xgettext -o po/$$p/$$p.pot -L Shell \
26 --package-name=$$p tinyutils/$$p; \
27 echo "done"; \
28 done;
30 msgmerge:
31 @for p in $(TINYUTILS); do \
32 for l in $(LINGUAS); do \
33 echo -n "Updating $$p $$l po file."; \
34 msgmerge -U po/$$p/$$l.po po/$$p/$$p.pot ; \
35 done; \
36 done;
38 msgfmt:
39 @for p in $(TINYUTILS); do \
40 for l in $(LINGUAS); do \
41 echo -n "Compiling $$p $$l mo file... "; \
42 mkdir -p po/mo/$$l; \
43 msgfmt -o po/mo/$$l/$$p.mo po/$$p/$$l.po ; \
44 echo "done"; \
45 done; \
46 done;
48 clean:
49 rm -rf po/mo