autogen.sh 476 Bytes
Newer Older
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="gcompris"
8

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

15 16 17 18 19 20
which gnome-autogen.sh || {
    echo "You need to install gnome-common from the GNOME GIT"
    exit 1
}

REQUIRED_AUTOMAKE_VERSION=1.9 USE_GNOME2_MACROS=1 . gnome-autogen.sh