summaryrefslogtreecommitdiff
path: root/autogen.sh
diff options
context:
space:
mode:
authorCosimo Cecchi <cosimoc@gnome.org>2012-10-31 15:43:59 -0400
committerBastien Nocera <hadess@hadess.net>2012-11-27 11:32:11 +0100
commit2dee0fd591c0897db779c0541f1153ce5854a455 (patch)
treee3ee591836fa3d5f2d3f6f9830ada413a788c212 /autogen.sh
parent6ca822940a4a1ab55a19e280a79e1ef87f048884 (diff)
downloadgnome-control-center-2dee0fd591c0897db779c0541f1153ce5854a455.tar.gz
build: Import egg-list-box as a git submodule
https://bugzilla.gnome.org/show_bug.cgi?id=687490
Diffstat (limited to 'autogen.sh')
-rwxr-xr-xautogen.sh12
1 files changed, 12 insertions, 0 deletions
diff --git a/autogen.sh b/autogen.sh
index 1661cd67f..735fceebf 100755
--- a/autogen.sh
+++ b/autogen.sh
@@ -18,6 +18,18 @@ DIE=0
rm -f .using-gnome-libs-package
+# Fetch submodules if needed
+if test ! -f egg-list-box/COPYING;
+then
+ echo "+ Setting up submodules"
+ git submodule init
+fi
+git submodule update
+
+cd egg-list-box
+sh autogen.sh --no-configure
+cd ..
+
if ! which gnome-autogen.sh ; then
echo "You need to install the gnome-common module and make"
echo "sure the gnome-autogen.sh script is in your \$PATH."