slitaz-tools view Makefile @ rev 548
Remove all obsolete stuff/ folder
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Fri Feb 25 01:43:27 2011 +0100 (2011-02-25) |
parents | c725710d618b |
children | d89081e15839 |
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 pot:
15 @for p in $(TINYUTILS); do \
16 echo -n "Generating $$p pot file... "; \
17 xgettext -o po/$$p/$$p.pot -L Shell --package-name=$$p tinyutils/$$p; \
18 echo "done"; \
19 done;
21 msgmerge:
22 @for p in $(TINYUTILS); do \
23 for l in $(LINGUAS); do \
24 echo -n "Updating $$p $$l po file."; \
25 msgmerge -U po/$$p/$$l.po po/$$p/$$p.pot ; \
26 done; \
27 done;
29 msgfmt:
30 @for p in $(TINYUTILS); do \
31 for l in $(LINGUAS); do \
32 echo -n "Compiling $$p $$l mo file... "; \
33 mkdir -p po/mo/$$l; \
34 msgfmt -o po/mo/$$l/$$p.mo po/$$p/$$l.po ; \
35 echo "done"; \
36 done; \
37 done;
39 clean:
40 rm -rf po/mo