prepare release 0.4.0

(Old svn revision: 4778)
This commit is contained in:
Mike Massonnet
2008-05-10 23:43:11 +00:00
parent 80637439f9
commit 5facac6c2e
7 changed files with 50 additions and 11 deletions

View File

@@ -27,7 +27,13 @@ EOF
# substitute revision and linguas
linguas=`sed -e '/^#/d' po/LINGUAS`
revision=`LC_ALL=C svn info $0 | awk '/^Revision: / {printf "%05d\n", $2}'`
if test -d .git/svn; then
revision=`LC_ALL=C git-svn find-rev remotes/trunk`
elif test -f .svn; then
revision=`LC_ALL=C svn info $0 | awk '/^Revision: / {printf "%05d\n", $2}'`
else
revision=""
fi
sed -e "s/@LINGUAS@/${linguas}/g" \
-e "s/@REVISION@/${revision}/g" \
< "configure.in.in" > "configure.in"