autogen.sh 557 Bytes
Newer Older
Elliot Lee's avatar
Elliot Lee 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
(test -f $srcdir/configure.ac \
8
  && test -f $srcdir/README \
9
  && test -d $srcdir/libnautilus-private) || {
10 11 12
    echo -n "**Error**: Directory "\`$srcdir\'" does not look like the"
    echo " top-level $PKG_NAME directory"
    exit 1
Elliot Lee's avatar
Elliot Lee committed
13 14
}

15 16
git submodule update --init --recursive

17
which gnome-autogen.sh || {
18
    echo "gnome-autogen.sh not found, you need to install gnome-common"
19
    exit 1
20
}
21
REQUIRED_AUTOMAKE_VERSION=1.9 . gnome-autogen.sh