mirror of
https://gitlab.freedesktop.org/mesa/drm.git
synced 2025-12-20 03:30:22 +01:00
If the build dir is outside of the git dir, the order matters :) Signed-off-by: Eric Engestrom <eric.engestrom@imgtec.com> Reviewed-by: Chad Versace <chadversary@chromium.org> Reviewed-by: Emil Velikov <emil.velikov@collabora.com>
20 lines
499 B
Bash
Executable file
20 lines
499 B
Bash
Executable file
#! /bin/sh
|
|
|
|
srcdir=`dirname "$0"`
|
|
test -z "$srcdir" && srcdir=.
|
|
|
|
ORIGDIR=`pwd`
|
|
cd "$srcdir"
|
|
|
|
git config --local --get format.subjectPrefix >/dev/null ||
|
|
git config --local format.subjectPrefix "PATCH libdrm" 2>/dev/null
|
|
|
|
git config --local --get sendemail.to >/dev/null ||
|
|
git config --local sendemail.to "dri-devel@lists.freedesktop.org" 2>/dev/null
|
|
|
|
autoreconf --force --verbose --install || exit 1
|
|
cd "$ORIGDIR" || exit $?
|
|
|
|
if test -z "$NOCONFIGURE"; then
|
|
"$srcdir"/configure "$@"
|
|
fi
|