Update copyright info from 2005-2008 to 2005-2009
[gpodder.git] / data / po / Makefile
blobde586d8f6af618bc03300b04c24da4e615d5c598
2 # gPodder - A media aggregator and podcast client
3 # Copyright (c) 2005-2009 Thomas Perl and the gPodder Team
5 # gPodder is free software; you can redistribute it and/or modify
6 # it under the terms of the GNU General Public License as published by
7 # the Free Software Foundation; either version 3 of the License, or
8 # (at your option) any later version.
10 # gPodder is distributed in the hope that it will be useful,
11 # but WITHOUT ANY WARRANTY; without even the implied warranty of
12 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 # GNU General Public License for more details.
15 # You should have received a copy of the GNU General Public License
16 # along with this program. If not, see <http://www.gnu.org/licenses/>.
19 update:
20 for langfile in *.po; do echo 'Compiling translation:' $${langfile}; mkdir -p ../locale/`basename $${langfile} .po`/LC_MESSAGES/; msgfmt $${langfile} -o ../locale/`basename $${langfile} .po`/LC_MESSAGES/gpodder.mo; done
22 generators:
23 for langfile in *.po; do echo -n $${langfile}; msgmerge -U $${langfile} ../messages.pot; done
25 clean:
26 rm -rf ../locale *~ *.mo
28 statistics:
29 @for file in *.po; do echo -n "$$file (`cat $$file | grep Revision-Date | cut -d' ' -f2`): "; msgfmt --statistics $$file 2>&1; done
32 .PHONY: update generators clean statistics