~verterok/ubuntuone-client/fix-987376

26.5.1 by Rodney Dawes
Initial bits to use autotools for porting nautilus extension to C
1
#!/bin/sh
2
# Run this to generate all the initial makefiles, etc.
3
4
srcdir=`dirname $0`
5
test -z "$srcdir" && srcdir=.
6
44.2.1 by Rodney Dawes
Switch the build system primarily to autotools with working build/install
7
PKG_NAME="ubuntuone-client"
47.2.1 by Rodney Dawes
Some fixes to debian packaging and build system
8
REQUIRED_AUTOMAKE_VERSION="1.10"
26.5.1 by Rodney Dawes
Initial bits to use autotools for porting nautilus extension to C
9
10
(test -f $srcdir/configure.ac) || {
11
    echo -n "**Error**: Directory "\`$srcdir\'" does not look like the"
12
    echo " top-level $PKG_NAME directory"
13
    exit 1
14
}
15
16
which gnome-autogen.sh || {
44.2.1 by Rodney Dawes
Switch the build system primarily to autotools with working build/install
17
	echo "You need to install gnome-common from the GNOME source repository"
26.5.1 by Rodney Dawes
Initial bits to use autotools for porting nautilus extension to C
18
	exit 1
19
}
20
21
USE_GNOME2_MACROS=1 . gnome-autogen.sh