bootstrap: by default the submodules are initialized

use "nosubmodule" to skip setting up submodules.

Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com>
This commit is contained in:
Øyvind Harboe 2010-12-22 14:29:34 +01:00
parent 07dcb5af12
commit 37f4978f95
1 changed files with 10 additions and 7 deletions

View File

@ -26,12 +26,15 @@ automake --gnu --add-missing --copy
# AM_MAINTAINER_MODE requires --enable-maintainer-mode from everyone using # AM_MAINTAINER_MODE requires --enable-maintainer-mode from everyone using
# current source snapshots (working from GIT, or some source snapshot, etc) # current source snapshots (working from GIT, or some source snapshot, etc)
# otherwise the documentation will fail to build due to missing version.texi # otherwise the documentation will fail to build due to missing version.texi
if [ -n $1 ] || [ $1 != nosubmodule ]
then
echo "Setting up submodules"
git submodule init
git submodule update
else
echo "Skipping submodule setup"
fi
echo "Bootstrap complete. Quick start build instructions:" echo "Bootstrap complete. Quick start build instructions:"
echo ""
echo "1. Fetch Jim Tcl"
echo ""
echo "git submodule init"
echo "git submodule update"
echo ""
echo "2. Configure"
echo "./configure --enable-maintainer-mode ...." echo "./configure --enable-maintainer-mode ...."