[gnome-settings-daemon] build: Init git submodules in autogen.sh
- From: Bastien Nocera <hadess src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-settings-daemon] build: Init git submodules in autogen.sh
- Date: Wed, 14 Nov 2012 10:41:52 +0000 (UTC)
commit ccc1cd1e6f026229417ca9a563c050810f752d1d
Author: Colin Walters <walters verbum org>
Date: Tue Nov 13 13:20:34 2012 -0500
build: Init git submodules in autogen.sh
As gnome-desktop, gstreamer or ostree do.
https://bugzilla.gnome.org/show_bug.cgi?id=688272
autogen.sh | 7 +++++++
1 files changed, 7 insertions(+), 0 deletions(-)
---
diff --git a/autogen.sh b/autogen.sh
index c4c6bae..def7ad6 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
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]