French translation update by wwp
[clawsker.git] / po / Makefile
index e3da5c717ff4663a9d04024cd736c38de3d197d4..6fdfb970b731f759bceee2695f90fcf22ed6909e 100644 (file)
@@ -1,6 +1,13 @@
 #
-# Clawsker po makefile
-# $Id$
+# Clawsker po Makefile
+# Copyright 2007-2016 Ricardo Mones <ricardo@mones.org>
+#
+# This program is free software: you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# See COPYING file for license details.
 #
 
 NAME = clawsker
@@ -10,7 +17,7 @@ DATADIR = ${PREFIX}/share
 LOCALEDIR = ${DATADIR}/locale
 
 XG_ARGS = --keyword=_ --flag=_:1:pass-java-format -L Perl -w 80 --package-name=${NAME} --package-version=${VERSION} --msgid-bugs-address=ricardo@mones.org
-LINGUAS = es sr sr@latin fr it
+LINGUAS = es fr it id nl pt_BR sv nb de ca tr
 
 all: build
 
@@ -20,7 +27,7 @@ ${NAME}.pot.0:
 # remove bogus entry win_title
 update-pot: ${NAME}.pot.0
        head -17 ./${NAME}.pot.0 > ./${NAME}.pot
-       tail -$(shell expr $(shell wc -l < ./${NAME}.pot.0) - 21 ) ./${NAME}.pot.0 >> ./${NAME}.pot
+       tail -$(shell expr $(shell wc -l < ./${NAME}.pot.0) - 22 ) ./${NAME}.pot.0 >> ./${NAME}.pot
        rm -f ./${NAME}.pot.0
 
 %.pox: %.po
@@ -28,7 +35,7 @@ update-pot: ${NAME}.pot.0
 
 build:
        for po in ${LINGUAS}; \
-       do msgfmt -c -o t-$${po} $${po}.po && mv -f t-$${po} $${po}.mo; \
+       do msgfmt -v --statistics -c -o t-$${po} $${po}.po && mv -f t-$${po} $${po}.mo; \
        done