#!/bin/sh

# go to temporary test directory
cd $TDIR

# prepare languages; copied from debian/rules

langs=$(find root/locale -mindepth 1 -maxdepth 1 -type d -printf '%f\n')
for lang in $langs; do
	stem=root/locale/$lang/LC_MESSAGES/CiderWebmail
	msgfmt -o $stem.mo $stem.po
done
cd root/templates && perl ./template.pl 2>&1
