Updated Spanish translation
[empathy-mirror.git] / autogen.sh
blob7c73adb9fbbc51328780cc6ca7deb1a67b7243da
1 #!/bin/sh
2 # Run this to generate all the initial makefiles, etc.
4 srcdir=`dirname $0`
5 test -z "$srcdir" && srcdir=.
7 PKG_NAME="Empathy"
8 REQUIRED_AUTOMAKE_VERSION=1.9
10 (test -f $srcdir/configure.ac) || {
11 echo -n "**Error**: Directory "\`$srcdir\'" does not look like the"
12 echo " top-level gnome directory"
13 exit 1
16 which gnome-autogen.sh || {
17 echo "You need to install gnome-common from the GNOME GIT"
18 exit 1
21 # Fetch submodules if needed
22 if test ! -f telepathy-yell/autogen.sh;
23 then
24 echo "+ Setting up submodules"
25 git submodule init
27 git submodule update
29 # launch tp-yell's autogen.sh
30 cd telepathy-yell
31 sh autogen.sh --no-configure
32 cd ..
34 USE_GNOME2_MACROS=1 USE_COMMON_DOC_BUILD=yes . gnome-autogen.sh