File: autogen.sh.example

package info (click to toggle)
mate-common 1.24.2-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 248 kB
  • sloc: sh: 417; makefile: 43
file content (19 lines) | stat: -rw-r--r-- 312 bytes parent folder | download | duplicates (4)
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