Actually make templates.po creation work. :-)
authorSteinar H. Gunderson <sesse@samfundet.no>
Sat, 16 Jul 2005 23:23:42 +0000 (23:23 +0000)
committerSteinar H. Gunderson <sesse@samfundet.no>
Sat, 16 Jul 2005 23:23:42 +0000 (23:23 +0000)
intl/make-all-pot.sh

index 0078eef59bcfcf0e04e950c74c1c805533c8c410..ba7aeb7e5eefda8b37aa083413ac62b4608c446b 100755 (executable)
@@ -4,7 +4,8 @@ set -e
 
 rm -f templates/*.pot
 for FILE in templates/*.tmpl; do
-       perl -I../intl ../intl/make-pot.pl $FILE > $FILE.pot
+       echo $FILE...
+       perl -I../intl ../intl/make-pot.pl $FILE | msguniq > $FILE.pot
 done
 
 msgcat templates/*.pot > po/templates.pot