slitaz-tools view tazdrop/Makefile @ rev 605
Make POT and msgmerge
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Wed Jun 01 19:40:01 2011 +0200 (2011-06-01) |
parents | d92514fffe93 |
children | 15914c395f9d |
line source
1 # Makefile for TazDrop
2 #
3 PREFIX?=/usr
4 SYSCONFDIR?=/etc/slitaz
5 LINGUAS?=pt_BR
7 # Installation
9 install:
10 mkdir -p $(DESTDIR)$(PREFIX)/bin \
11 $(DESTDIR)$(PREFIX)/share/doc/tazdrop \
12 $(DESTDIR)$(PREFIX)/share/locale \
13 $(DESTDIR)$(PREFIX)/share/applications \
14 $(DESTDIR)$(SYSCONFDIR)
15 install -m 0777 tazdrop $(DESTDIR)$(PREFIX)/bin
16 install -m 0644 *.conf $(DESTDIR)$(SYSCONFDIR)
17 install -m 0644 data/*.desktop $(DESTDIR)$(PREFIX)/share/applications
18 install -m 0644 README $(DESTDIR)$(PREFIX)/share/doc/tazdrop
19 for l in $(LINGUAS); \
20 do \
21 install -m 0777 -d $(DESTDIR)$(PREFIX)/share/locale/$$l/LC_MESSAGES; \
22 install -m 0644 ../po/mo/$$l/tazdrop.mo \
23 $(DESTDIR)$(PREFIX)/share/locale/$$l/LC_MESSAGES; \
24 done;