summaryrefslogtreecommitdiff
path: root/doc/autogen.sh.example
blob: 1114c76cf3c96848f7ece9d56deab4353528a362 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#!/bin/sh

srcdir=`dirname $0`
[ -z "$srcdir" ] && srcdir=.

PKG_NAME=mate-package

if [ ! -f "$srcdir/configure.ac" ]; then
    echo "$srcdir doesn't look like source directory for $PKG_NAME" >&2
    exit 1
fi

which mate-autogen.sh || {
    echo "You need to install mate-common"
    exit 1
}

. mate-autogen