diff options
author | Emil Velikov <emil.l.velikov@gmail.com> | 2016-12-12 17:50:46 +0000 |
---|---|---|
committer | Emil Velikov <emil.l.velikov@gmail.com> | 2016-12-14 17:10:51 +0000 |
commit | 0645648dd08942face3cad03bedcdd39e3a6f5fc (patch) | |
tree | 5c6452439896f26c428125430e51f373f7201246 /autogen.sh | |
parent | 3bc14c8cb99a8c4d927e07f947449c3e50d188c9 (diff) | |
download | libdrm-0645648dd08942face3cad03bedcdd39e3a6f5fc.tar.gz libdrm-0645648dd08942face3cad03bedcdd39e3a6f5fc.tar.bz2 libdrm-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-x | autogen.sh | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -9,6 +9,12 @@ cd "$srcdir" autoreconf --force --verbose --install || exit 1 cd "$ORIGDIR" || exit $? +git config --local --get format.subjectPrefix || + git config --local format.subjectPrefix "PATCH libdrm" 2>/dev/null + +git config --local --get sendemail.to || + git config --local sendemail.to "dri-devel@lists.freedesktop.org" 2>/dev/null + if test -z "$NOCONFIGURE"; then "$srcdir"/configure "$@" fi |