xenocara/dist/xkeyboard-config/autogen.sh

19 lines
425 B
Bash
Raw Normal View History

2009-06-06 11:52:23 -06:00
#! /bin/sh
srcdir=`dirname "$0"`
2009-06-06 11:52:23 -06:00
test -z "$srcdir" && srcdir=.
ORIGDIR=`pwd`
cd "$srcdir"
2009-06-06 11:52:23 -06:00
autopoint --force
AUTOPOINT='intltoolize --automake --copy' autoreconf -v --install --force || exit 1
2009-06-06 11:52:23 -06:00
git config --local --get format.subjectPrefix >/dev/null 2>&1 ||
git config --local format.subjectPrefix "PATCH xkeyboard-config"
cd "$ORIGDIR" || exit $?
if test -z "$NOCONFIGURE"; then
exec "$srcdir"/configure "$@"
fi