tazpanel diff Makefile @ rev 303

3 weeks forging ;) Some bugs fixed, maybe all i18n improved (please, recheck 'po's!), couple of new features added... Enjoy!
author Aleksej Bobylev <al.bobylev@gmail.com>
date Fri May 04 13:00:43 2012 +0300 (2012-05-04)
parents 72e9955ebdff
children 03de38e7cdf3
line diff
     1.1 --- a/Makefile	Wed Apr 11 20:12:41 2012 +0300
     1.2 +++ b/Makefile	Fri May 04 13:00:43 2012 +0300
     1.3 @@ -3,7 +3,7 @@
     1.4  PREFIX?=/usr
     1.5  SYSCONFDIR?=/etc/slitaz
     1.6  DESTDIR?=
     1.7 -LINGUAS?=fr pt_BR
     1.8 +LINGUAS?=es fr pt_BR ru
     1.9  PANEL?=/var/www/tazpanel
    1.10  
    1.11  VERSION:=$(shell grep ^VERSION tazpanel | cut -d '=' -f 2)
    1.12 @@ -16,10 +16,9 @@
    1.13  	xgettext -o po/tazpanel.pot -L Shell \
    1.14  		--package-name="TazPanel" \
    1.15  		--package-version="$(VERSION)" \
    1.16 -		./tazpanel ./index.cgi ./pkgs.cgi ./live.cgi \
    1.17 -		./network.cgi ./boot.cgi ./hardware.cgi \
    1.18 -		./settings.cgi ./lib/libtazpanel ./installer.cgi \
    1.19 -		./styles/default/header.sh ./styles/default/footer.sh
    1.20 +		./tazpanel ./index.cgi ./pkgs.cgi ./live.cgi ./network.cgi ./boot.cgi \
    1.21 +		./hardware.cgi ./settings.cgi ./lib/libtazpanel ./installer.cgi \
    1.22 +		./help.cgi ./styles/default/header.sh ./styles/default/footer.sh
    1.23  
    1.24  msgmerge:
    1.25  	@for l in $(LINGUAS); do \
    1.26 @@ -59,3 +58,9 @@
    1.27  	rm -f po/*.mo
    1.28  	rm -f po/*.*~
    1.29  
    1.30 +help:
    1.31 +	@echo "$$ pot          - remake pot"
    1.32 +	@echo "$$ msgmerge     - update *.po from *.pot"
    1.33 +	@echo "$$ msgfmt | all - compile *.mo"
    1.34 +	@echo "# install      - install files to system"
    1.35 +	@echo "$$ clean        - remove *.mo"