summaryrefslogtreecommitdiff
path: root/autogen.sh
diff options
context:
space:
mode:
authorColin Walters <walters@verbum.org>2012-11-13 13:20:34 -0500
committerBastien Nocera <hadess@hadess.net>2012-11-14 11:40:27 +0100
commitccc1cd1e6f026229417ca9a563c050810f752d1d (patch)
tree5c4428bebf3eae1907565b5cc60df022f0371bf1 /autogen.sh
parent1dc03f24a322ca2ee5fe7ac67564d8b59d25a2ad (diff)
downloadgnome-settings-daemon-ccc1cd1e6f026229417ca9a563c050810f752d1d.tar.gz
build: Init git submodules in autogen.sh
As gnome-desktop, gstreamer or ostree do. https://bugzilla.gnome.org/show_bug.cgi?id=688272
Diffstat (limited to 'autogen.sh')
-rwxr-xr-xautogen.sh7
1 files changed, 7 insertions, 0 deletions
diff --git a/autogen.sh b/autogen.sh
index c4c6bae9..def7ad68 100755
--- a/autogen.sh
+++ b/autogen.sh
@@ -22,4 +22,11 @@ which gnome-autogen.sh || {
exit 1
}
+# Fetch submodules if needed
+if test ! -f plugins/media-keys/gvc/Makefile.am; then
+ echo "+ Setting up submodules"
+ git submodule init
+fi
+git submodule update
+
. gnome-autogen.sh