]> git.0d.be Git - empathy.git/blobdiff - autogen.sh
Check for telepathy-yell if requested
[empathy.git] / autogen.sh
index bb0d1f831fd005a6cf45607d940c71c8076bbabf..7c73adb9fbbc51328780cc6ca7deb1a67b7243da 100755 (executable)
@@ -17,6 +17,18 @@ which gnome-autogen.sh || {
     echo "You need to install gnome-common from the GNOME GIT"
     exit 1
 }
-USE_GNOME2_MACROS=1 USE_COMMON_DOC_BUILD=yes . gnome-autogen.sh
 
+# Fetch submodules if needed
+if test ! -f telepathy-yell/autogen.sh;
+then
+  echo "+ Setting up submodules"
+  git submodule init
+fi
+git submodule update
+
+# launch tp-yell's autogen.sh
+cd telepathy-yell
+sh autogen.sh --no-configure
+cd ..
 
+USE_GNOME2_MACROS=1 USE_COMMON_DOC_BUILD=yes . gnome-autogen.sh