summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTomek CEDRO <cederom@tlen.pl>2011-11-01 18:57:16 +0000
committerTomek CEDRO <cederom@tlen.pl>2011-11-01 18:57:16 +0000
commitdfdc7251df18b5027f00875866217c433fe44e36 (patch)
tree3d0b0b0b8c57b98f4f5591a24fd33af20d45bcf1
parent5cc456a16690e9cf49faba4d2b4ca3ee3b758cf7 (diff)
downloadopenocd+libswd-dfdc7251df18b5027f00875866217c433fe44e36.tar.gz
openocd+libswd-dfdc7251df18b5027f00875866217c433fe44e36.tar.bz2
openocd+libswd-dfdc7251df18b5027f00875866217c433fe44e36.tar.xz
openocd+libswd-dfdc7251df18b5027f00875866217c433fe44e36.zip
bootstrap also bootstraps submodules/libswd if necessary (when no configure file exist for that submodule, so git/master is used, not a release).
-rwxr-xr-xbootstrap6
1 files changed, 6 insertions, 0 deletions
diff --git a/bootstrap b/bootstrap
index 3b4b4783..ea40b89e 100755
--- a/bootstrap
+++ b/bootstrap
@@ -43,6 +43,12 @@ autoheader
automake --gnu --add-missing --copy
)
+# Bootstrap the submodules/libswd when working with git master not release
+if [ ! -f submodules/libswd/configure ]; then
+ echo "Info: submodules/libswd needs to be bootstrapped too..."
+ cd submodules/libswd; sh autogen.sh
+fi
+
# AM_MAINTAINER_MODE requires --enable-maintainer-mode from everyone using
# current source snapshots (working from GIT, or some source snapshot, etc)
# otherwise the documentation will fail to build due to missing version.texi.