tazweb diff Makefile @ rev 193
add: tazweb-ng.c New tazweb with tab structure and usable. Still current Tazweb functions/googies to adapt
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Thu Mar 16 00:23:06 2017 +0100 (2017-03-16) |
parents | 02eed5624373 |
children | b043c09b31f0 |
line diff
1.1 --- a/Makefile Mon Mar 13 01:50:53 2017 +0100 1.2 +++ b/Makefile Thu Mar 16 00:23:06 2017 +0100 1.3 @@ -6,7 +6,7 @@ 1.4 1.5 PACKAGE=tazweb 1.6 VERSION=1.10 1.7 -LINGUAS?=de fr ja pt_BR ru vi_VN zh_CN zh_TW 1.8 +LINGUAS?=$(shell grep -v "^\#" po/LINGUAS) 1.9 1.10 CC?=gcc 1.11 1.12 @@ -28,10 +28,10 @@ 1.13 # i18n 1.14 1.15 pot: 1.16 - xgettext -o po/$(PACKAGE).pot -L C -k_ \ 1.17 + xgettext -o po/$(PACKAGE).pot -k_ \ 1.18 --package-name="TazWeb" \ 1.19 --package-version="$(VERSION)" \ 1.20 - ./src/main.c 1.21 + ./src/tazweb.c ./lib/helper.sh ./data/tazweb.desktop.in 1.22 1.23 msgmerge: 1.24 @for l in $(LINGUAS); do \ 1.25 @@ -46,7 +46,11 @@ 1.26 msgfmt -o po/mo/$$l/LC_MESSAGES/$(PACKAGE).mo po/$$l.po; \ 1.27 done; 1.28 1.29 -install: 1.30 +desktop: 1.31 + msgfmt --desktop --template=data/tazweb.desktop.in -d po \ 1.32 + -o data/tazweb.desktop; 1.33 + 1.34 +install: msgfmt desktop 1.35 mkdir -p \ 1.36 $(DESTDIR)$(DOCDIR)/$(PACKAGE) \ 1.37 $(DESTDIR)$(PREFIX)/bin \ 1.38 @@ -69,6 +73,7 @@ 1.39 rm -f po/*.mo 1.40 rm -f po/*.*~ 1.41 rm -f src/Makefile src/*.o src/tazweb-qt 1.42 + rm -f data/*.desktop 1.43 1.44 help: 1.45 @echo "make [ ng | qt | pot | msgmerge | msgfmt | install | clean ]"