[gnome-documents] build: Ensure we update submodules inside the srcdir
- From: Emmanuele Bassi <ebassi src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-documents] build: Ensure we update submodules inside the srcdir
- Date: Fri, 3 Jun 2016 11:27:07 +0000 (UTC)
commit 7668513171a0e9812a3fc2fc396e8b8d960e9072
Author: Emmanuele Bassi <ebassi gnome org>
Date: Fri Jun 3 12:26:24 2016 +0100
build: Ensure we update submodules inside the srcdir
Instead of the build directory.
autogen.sh | 5 +++++
1 files changed, 5 insertions(+), 0 deletions(-)
---
diff --git a/autogen.sh b/autogen.sh
index b87ffaa..e008406 100755
--- a/autogen.sh
+++ b/autogen.sh
@@ -4,6 +4,8 @@
srcdir=`dirname $0`
test -z "$srcdir" && srcdir=.
+olddir=`pwd`
+
PKG_NAME="gnome-documents"
ACLOCAL_FLAGS="-I libgd $ACLOCAL_FLAGS"
@@ -18,8 +20,11 @@ which gnome-autogen.sh || {
exit 1
}
+# We need to run git submodule update inside the src directory
+cd "$srcdir"
git submodule update --init --recursive
+cd "$olddir"
REQUIRED_AUTOCONF_VERSION=2.59
REQUIRED_AUTOMAKE_VERSION=1.9
REQUIRED_INTLTOOL_VERSION=0.40.0
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]