summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMihail Konev <k.mvc@ya.ru>2017-01-26 14:00:21 +1000
committerPeter Hutterer <peter.hutterer@who-t.net>2017-01-26 14:00:21 +1000
commita013a67e8bf1e915a781faaf966b06b8cc7696b3 (patch)
tree251e97d6b3f941d8a58b5e25b6e71d0396cf17dc
parent9f67408e4f078e907fbf4feb45cfdcfd0cdebcca (diff)
autogen: add default patch prefix
Signed-off-by: Mihail Konev <k.mvc@ya.ru>
-rwxr-xr-xautogen.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/autogen.sh b/autogen.sh
index 904cd67..766be9e 100755
--- a/autogen.sh
+++ b/autogen.sh
@@ -9,4 +9,7 @@ cd $srcdir
autoreconf -v --install || exit 1
cd $ORIGDIR || exit $?
+git config --local --get format.subjectPrefix >/dev/null 2>&1 ||
+ git config --local format.subjectPrefix "PATCH xf86-video-apm"
+
$srcdir/configure --enable-maintainer-mode "$@"