Merge pull request #388 from strawd/master
[mono.git] / Makefile.am
index 74f28ed2bcf78a4a5485cdde201508d73eb4c1cf..eef2c3800e13d7ee5d8401d60ca5aa125c01f0fc 100644 (file)
@@ -18,13 +18,23 @@ 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 \
            build-mingw32.sh \
            mkinstalldirs \
            mono-uninstalled.pc.in \
-           winconfig.h
+           winconfig.h \
+           mono-core.spec \
+           external
 
 DISTCHECK_CONFIGURE_FLAGS = EXTERNAL_MCS=false EXTERNAL_RUNTIME=false