autogen.sh 455 Bytes
Newer Older
Daiki Ueno's avatar
Daiki Ueno 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="eekboard"
Daiki Ueno's avatar
Daiki Ueno committed
8 9

(test -f $srcdir/configure.ac \
10
  && test -f $srcdir/README.md ) || {
Daiki Ueno's avatar
Daiki Ueno committed
11 12 13 14 15 16
    echo -n "**Error**: Directory "\`$srcdir\'" does not look like the"
    echo " top-level $PKG_NAME directory"
    exit 1
}

ACLOCAL_FLAGS="$ACLOCAL_FLAGS -I m4"
Daiki Ueno's avatar
Daiki Ueno committed
17 18
REQUIRED_AUTOMAKE_VERSION=1.10
REQUIRED_AUTOCONF_VERSION=2.60
Daiki Ueno's avatar
Daiki Ueno committed
19 20

. gnome-autogen.sh