summaryrefslogtreecommitdiffstats
path: root/autogen.sh
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-27 18:38:12 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-27 18:38:12 +0000
commit1514855887c47e6b01e423c0c96608d6764adaa1 (patch)
tree6f2f86912802f061499fa67c83b8a5eced153dc3 /autogen.sh
parentAdding upstream version 1.2.1. (diff)
downloadxserver-xorg-input-libinput-1514855887c47e6b01e423c0c96608d6764adaa1.tar.xz
xserver-xorg-input-libinput-1514855887c47e6b01e423c0c96608d6764adaa1.zip
Adding debian version 1.2.1-1.debian/1.2.1-1debian
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'autogen.sh')
-rw-r--r--autogen.sh17
1 files changed, 17 insertions, 0 deletions
diff --git a/autogen.sh b/autogen.sh
new file mode 100644
index 0000000..421528e
--- /dev/null
+++ b/autogen.sh
@@ -0,0 +1,17 @@
+#! /bin/sh
+
+srcdir=`dirname "$0"`
+test -z "$srcdir" && srcdir=.
+
+ORIGDIR=`pwd`
+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-input-libinput"
+
+if test -z "$NOCONFIGURE"; then
+ exec "$srcdir"/configure "$@"
+fi