aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEmil Velikov2016-12-12 11:50:46 -0600
committerEmil Velikov2016-12-14 11:10:51 -0600
commit0645648dd08942face3cad03bedcdd39e3a6f5fc (patch)
tree5c6452439896f26c428125430e51f373f7201246 /autogen.sh
parent3bc14c8cb99a8c4d927e07f947449c3e50d188c9 (diff)
downloadexternal-libgbm-0645648dd08942face3cad03bedcdd39e3a6f5fc.tar.gz
external-libgbm-0645648dd08942face3cad03bedcdd39e3a6f5fc.tar.xz
external-libgbm-0645648dd08942face3cad03bedcdd39e3a6f5fc.zip
autogen.sh: set format.subjectPrefix and sendemail.to if needed
Just set the rules automatically rather than asking each contributor to update thing locally. v2: Silence errors if run outside of git repo. (Eric) Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com Reviewed-by: Eric Engestrom <eric.engestrom@imgtec.com>
Diffstat (limited to 'autogen.sh')
-rwxr-xr-xautogen.sh6
1 files changed, 6 insertions, 0 deletions
diff --git a/autogen.sh b/autogen.sh
index c8960971..d82ab180 100755
--- a/autogen.sh
+++ b/autogen.sh
@@ -9,6 +9,12 @@ cd "$srcdir"
9autoreconf --force --verbose --install || exit 1 9autoreconf --force --verbose --install || exit 1
10cd "$ORIGDIR" || exit $? 10cd "$ORIGDIR" || exit $?
11 11
12git config --local --get format.subjectPrefix ||
13 git config --local format.subjectPrefix "PATCH libdrm" 2>/dev/null
14
15git config --local --get sendemail.to ||
16 git config --local sendemail.to "dri-devel@lists.freedesktop.org" 2>/dev/null
17
12if test -z "$NOCONFIGURE"; then 18if test -z "$NOCONFIGURE"; then
13 "$srcdir"/configure "$@" 19 "$srcdir"/configure "$@"
14fi 20fi