File: autogen.sh

package info (click to toggle)
xkeyboard-config 2.26-2
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, buster, sid
  • size: 10,192 kB
  • sloc: sh: 4,369; makefile: 474; ansic: 433; perl: 382; ruby: 207
file content (18 lines) | stat: -rwxr-xr-x 425 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#! /bin/sh

srcdir=`dirname "$0"`
test -z "$srcdir" && srcdir=.

ORIGDIR=`pwd`
cd "$srcdir"

autopoint --force
AUTOPOINT='intltoolize --automake --copy' autoreconf -v --install --force || exit 1

git config --local --get format.subjectPrefix >/dev/null 2>&1 ||
    git config --local format.subjectPrefix "PATCH xkeyboard-config"

cd "$ORIGDIR" || exit $?
if test -z "$NOCONFIGURE"; then
    exec "$srcdir"/configure "$@"
fi