Generate mo files on release.

This commit is contained in:
Michal Čihař
2010-03-11 17:22:31 +01:00
parent 95db34e9de
commit 574f2748b0

View File

@@ -95,6 +95,18 @@ LC_ALL=C date -u > RELEASE-DATE-${version}
# Building Documentation.txt # Building Documentation.txt
LC_ALL=C w3m -dump Documentation.html > Documentation.txt LC_ALL=C w3m -dump Documentation.html > Documentation.txt
# Check for gettext support
if [ -d po ] ; then
GETTEXT=1
else
GETTEXT=0
fi
# Generate mo files
if [ $GETTEXT -eq 1 ] ; then
./scripts/generate-mo
fi
# Remove test directory from package to avoid Path disclosure messages # Remove test directory from package to avoid Path disclosure messages
# if someone runs /test/wui.php and there are test failures # if someone runs /test/wui.php and there are test failures
rm -rf test rm -rf test