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

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

7
PKG_NAME="Devhelp"
8
ACLOCAL_FLAGS="-I libgd $ACLOCAL_FLAGS"
9

10 11 12 13
(test -f $srcdir/src/dh-main.c) || {
    echo -n "**Error**: Directory "\`$srcdir\'" does not look like the"
    echo " top-level $PKG_NAME directory"
    exit 1
Johan Dahlin's avatar
Johan Dahlin committed
14
}
15

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

21
. gnome-autogen.sh