Automatically populate the git submodules in autogen.sh
This commit is contained in:
1 parent
1804d944d2
commit
31d129fab4
1 file changed
+9
@@ -16,5 +16,14 @@ mkdir -p m4
|
|||||||
|
|
||||||
autoreconf --force --install --verbose
|
autoreconf --force --install --verbose
|
||||||
|
|
||||||
|
# Fetch submodules if needed
|
||||||
|
if test ! -f src/libgsystem/README;
|
||||||
|
then
|
||||||
|
echo "+ Setting up submodules"
|
||||||
|
git submodule init
|
||||||
|
fi
|
||||||
|
git submodule update
|
||||||
|
|
||||||
|
|
||||||
cd $olddir
|
cd $olddir
|
||||||
test -n "$NOCONFIGURE" || "$srcdir/configure" "$@"
|
test -n "$NOCONFIGURE" || "$srcdir/configure" "$@"
|
||||||
Reference in new issue
Block a user