2007-08-13 08:12:20 -05:00
|
|
|
#! /bin/sh
|
|
|
|
|
2020-01-31 06:09:35 -06:00
|
|
|
srcdir=`dirname "$0"`
|
2007-08-13 08:12:20 -05:00
|
|
|
test -z "$srcdir" && srcdir=.
|
|
|
|
|
|
|
|
ORIGDIR=`pwd`
|
2020-01-31 06:09:35 -06:00
|
|
|
cd "$srcdir"
|
2007-08-13 08:12:20 -05:00
|
|
|
|
|
|
|
autoreconf -v --install || exit 1
|
2020-01-31 06:09:35 -06:00
|
|
|
cd "$ORIGDIR" || exit $?
|
|
|
|
|
|
|
|
git config --local --get format.subjectPrefix >/dev/null 2>&1 ||
|
|
|
|
git config --local format.subjectPrefix "PATCH app/xmodmap"
|
2007-08-13 08:12:20 -05:00
|
|
|
|
2015-05-02 11:35:20 -05:00
|
|
|
if test -z "$NOCONFIGURE"; then
|
2020-01-31 06:09:35 -06:00
|
|
|
exec "$srcdir"/configure "$@"
|
2015-05-02 11:35:20 -05:00
|
|
|
fi
|