Merge pull request #308 from viniciusjarina/fix242
[mono.git] / Makefile.am
index ed2ee3784a1f3c956417f384c8f8d569bb703df3..eef2c3800e13d7ee5d8401d60ca5aa125c01f0fc 100644 (file)
@@ -18,6 +18,14 @@ DIST_SUBDIRS = m4 po libgc eglib mono ikvm-native support data runtime scripts m
 endif
 endif
 
+all: update_submodules
+
+SUBMODULE_ERROR='Could not recursively update all git submodules. You may experience compilation problems if some submodules are out of date'
+update_submodules:
+       @$(srcdir)/scripts/update_submodules
+
+.PHONY: update_submodules
+
 EXTRA_DIST= \
            LICENSE \
            autogen.sh \