bu5hm4n pushed a commit to branch master. http://git.enlightenment.org/apps/extra.git/commit/?id=bef597729ef37ba274511f7d03f5b60efe60297c
commit bef597729ef37ba274511f7d03f5b60efe60297c Author: Marcel Hollerbach <marcel-hollerb...@t-online.de> Date: Tue Jan 10 17:17:45 2017 +0100 build: init submodules when calling autogen.sh if one submodule is not initializied it will run submodule update --init --recursive, which will download the files that are needed. The whole thing is also just called if you are in a git repository so nothing of that magic is done when a tarbal is downloaded and shipped. --- autogen.sh | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/autogen.sh b/autogen.sh index fe644eb..0ed846b 100755 --- a/autogen.sh +++ b/autogen.sh @@ -3,6 +3,14 @@ rm -rf autom4te.cache rm -f aclocal.m4 ltmain.sh +if [ -d ".git"]; then + echo "Getting all submodules" + if [ $(git submodule status | cut -c1 | grep "-") ]; then + echo "A few submodules are not initializied." + echo "Calling 'git submodule update --init --recursive'" + git submodule update --init --recursive + fi +fi echo "Running autopoint..." ; autopoint -f || : echo "Running aclocal..." ; aclocal -I m4 $ACLOCAL_FLAGS || exit 1 echo "Running autoconf..." ; autoconf || exit 1 --