autogen.sh 587 Bytes
Newer Older
Dave Camp's avatar
Dave Camp committed
1
2
3
4
5
6
#!/bin/sh
# Run this to generate all the initial makefiles, etc.

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

7
PKG_NAME=gdl
Johannes Schmid's avatar
Johannes Schmid committed
8

9
10
11
(test -f $srcdir/configure.in \
  && test -f $srcdir/autogen.sh \
  && test -d $srcdir/gdl) || {
12
    echo -n "**Error**: Directory "\`$srcdir\'" does not look like the"
13
    echo " top-level $PKG_NAME directory"
14
15
16
    exit 1
}

17
18
19
which gnome-autogen.sh || {
    echo "You need to install gnome-common from the GNOME SVN"
    exit 1
Johannes Schmid's avatar
Johannes Schmid committed
20
21
}

22
REQUIRED_AUTOMAKE_VERSION=1.11 GNOME_DATADIR="$gnome_datadir" USE_GNOME2_MACROS=1 USE_COMMON_DOC_BUILD=yes . gnome-autogen.sh