Files
xfce4-taskmanager/autogen.sh
Mike Massonnet cf4f5162df Update autotools build
Drop the po/LINGUAS file and substitute them directly inside the
configure script instead.
Update the version tag svn=>git and pass the project URL.
Add a module.xml file for cgit.
2009-08-18 12:09:51 +02:00

29 lines
776 B
Bash
Executable File

#!/bin/sh
#
# Copyright (c) 2002-2007
# The Xfce development team. All rights reserved.
#
(type xdt-autogen) >/dev/null 2>&1 || {
cat >&2 <<EOF
autogen.sh: You don't seem to have the Xfce development tools installed on
your system, which are required to build this software.
Please install the xfce4-dev-tools package first, it is available
from http://www.xfce.org/.
EOF
exit 1
}
# substitute revision and linguas
linguas=`ls po/*.po 2>/dev/null | awk 'BEGIN {FS="[./]"; ORS=" "} {print $2}'`
if test -d .git; then
revision=`git log --pretty=format:%h -n 1`
else
revision="UNKNOWN"
fi
sed -e "s/@LINGUAS@/${linguas}/g" \
-e "s/@REVISION@/${revision}/g" \
< "configure.in.in" > "configure.in"
exec xdt-autogen $@