slitaz-tools diff Makefile @ rev 918
tazx: Add driver autodetect and bpp-edit features.
Auto: 2nd-level Dialog-item
or Command (tazx auto) without writing xorg.conf.d/
bpp: both generates xorg.conf.d:
(tazx bpp 16) or (tazx bpp) dialog
optimize (tazbox tazapps) speed.
Using existing i18n strings for new.
Fix fr.po syntax typos.
Auto: 2nd-level Dialog-item
or Command (tazx auto) without writing xorg.conf.d/
bpp: both generates xorg.conf.d:
(tazx bpp 16) or (tazx bpp) dialog
optimize (tazbox tazapps) speed.
Using existing i18n strings for new.
Fix fr.po syntax typos.
author | Xander Ziiryanoff <psychomaniak@xakep.ru> |
---|---|
date | Fri Nov 14 21:18:57 2014 +0000 (2014-11-14) |
parents | b7a12d5e476b |
children | eb791cfb71c0 |
line diff
1.1 --- a/Makefile Sat Jul 05 18:20:30 2014 +0300 1.2 +++ b/Makefile Fri Nov 14 21:18:57 2014 +0000 1.3 @@ -70,7 +70,7 @@ 1.4 1.5 # Installation 1.6 1.7 -install: msgfmt 1.8 +install: 1.9 install -m 0755 -d $(DESTDIR)/sbin 1.10 install -m 0755 -d $(DESTDIR)/etc 1.11 install -m 0755 -d $(DESTDIR)$(PREFIX)/bin 1.12 @@ -87,15 +87,13 @@ 1.13 done; 1.14 1.15 # Declare all config files. 1.16 - for file in etc/locale.conf etc/keymap.conf etc/TZ; \ 1.17 - do \ 1.18 + for file in etc/locale.conf etc/keymap.conf etc/TZ; do \ 1.19 touch $(DESTDIR)/$$file; \ 1.20 done; 1.21 1.22 # /usr/bin tools. 1.23 for app in tazx startx history editor browser terminal file-manager \ 1.24 - decode frugal startd stopd; \ 1.25 - do \ 1.26 + decode frugal startd stopd; do \ 1.27 install -m 0755 tinyutils/$$app $(DESTDIR)$(PREFIX)/bin; \ 1.28 done; 1.29 1.30 @@ -104,13 +102,14 @@ 1.31 install -m 0755 tinyutils/setmixer $(DESTDIR)$(PREFIX)/sbin 1.32 1.33 # slitaz-tools i18n 1.34 - for l in $(LINGUAS); \ 1.35 - do \ 1.36 - install -m 0755 -d $(DESTDIR)$(PREFIX)/share/locale/$$l/LC_MESSAGES; \ 1.37 - install -m 0644 po/mo/$$l/slitaz-tools.mo \ 1.38 - $(DESTDIR)$(PREFIX)/share/locale/$$l/LC_MESSAGES; \ 1.39 + for l in $(LINGUAS); do \ 1.40 + if [ -f "po/mo/$$l/slitaz-tools.mo" ]; then \ 1.41 + install -m 0755 -d $(DESTDIR)$(PREFIX)/share/locale/$$l/LC_MESSAGES; \ 1.42 + install -m 0644 po/mo/$$l/slitaz-tools.mo \ 1.43 + $(DESTDIR)$(PREFIX)/share/locale/$$l/LC_MESSAGES; \ 1.44 + fi; \ 1.45 done; 1.46 - 1.47 + 1.48 # Documentation 1.49 cp doc/post-install.txt $(DESTDIR)$(DOCDIR)/slitaz 1.50 # Permissions 1.51 @@ -132,8 +131,7 @@ 1.52 install -m 0644 pixmaps/* $(DESTDIR)$(PREFIX)/share/pixmaps 1.53 1.54 # i18n. 1.55 - for l in $(LINGUAS); \ 1.56 - do \ 1.57 + for l in $(LINGUAS); do \ 1.58 install -m 0755 -d $(DESTDIR)$(PREFIX)/share/locale/$$l/LC_MESSAGES; \ 1.59 install -m 0644 po/mo/$$l/*box* \ 1.60 $(DESTDIR)$(PREFIX)/share/locale/$$l/LC_MESSAGES; \