autogen.sh 360 Bytes
Newer Older
1 2
#! /bin/sh

3
srcdir=`dirname "$0"`
4 5 6
test -z "$srcdir" && srcdir=.

ORIGDIR=`pwd`
7
cd "$srcdir"
8 9

autoreconf -v --install || exit 1
10
cd "$ORIGDIR" || exit $?
11

12 13 14
git config --local --get format.subjectPrefix >/dev/null 2>&1 ||
    git config --local format.subjectPrefix "PATCH xf86-input-libinput"

15
if test -z "$NOCONFIGURE"; then
16
    exec "$srcdir"/configure "$@"
17
fi