~unity-team/bamf/x-sru2

18 by Jason Smith
Autogen foo
1
#!/bin/sh
2
# Run this to generate all the initial makefiles, etc.
3
4
srcdir=`dirname $0`
5
test -z "$srcdir" && srcdir=.
6
117 by Jason Smith
Add new source files and update bamf naming
7
PKG_NAME="bamfdaemon"
18 by Jason Smith
Autogen foo
8
REQUIRED_AUTOCONF_VERSION=2.59
9
REQUIRED_AUTOMAKE_VERSION=1.8
10
REQUIRED_MACROS="python.m4"
11
ACLOCAL_FLAGS="$ACLOCAL_FLAGS -I m4"
12
494.1.1 by Michael Terry
switch to dh9
13
(test -f $srcdir/configure.ac) || {
18 by Jason Smith
Autogen foo
14
    echo -n "**Error**: Directory "\`$srcdir\'" does not look like the"
15
    echo " top-level $PKG_NAME directory"
16
    exit 1
17
}
18
19
which gnome-autogen.sh || {
20
    echo "You need to install the gnome-common module and make"
21
    echo "sure the gnome-autogen.sh script is in your \$PATH."
22
    exit 1
23
}
24
25
USE_GNOME2_MACROS=1 . gnome-autogen.sh