Update copyright years
[clawsker.git] / po / Makefile
index 73f16681ddeb2438d58497bc739adcd55ac8c326..c65630c4bff30a2f64216864f9d2140ac88016eb 100644 (file)
@@ -10,7 +10,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 id
+LINGUAS = es sr sr@latin fr it id pt_BR sv
 
 all: build
 
@@ -20,7 +20,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 +28,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