Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/monodevelop.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlan McGovern <alan@xamarin.com>2012-10-22 05:56:39 +0400
committerAlan McGovern <alan@xamarin.com>2012-10-22 05:57:01 +0400
commit21f165f2c0b21bb9a51ed1dc1760664e581cfec4 (patch)
tree2324e2d7183102729d9976d234f0a1e7440f8c32 /Makefile
parentcfe7904eabe5eddb5603d4ab91db95fc66104658 (diff)
[build] Only update the submodules if inside a git checkout
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index e2218e644f..972382f9b7 100644
--- a/Makefile
+++ b/Makefile
@@ -5,7 +5,9 @@ EXTRA_DIST = configure
all: update_submodules all-recursive
update_submodules:
- git submodule update --init --recursive
+ if test -d ".git"; then \
+ git submodule update --init --recursive; \
+ fi
top_srcdir=.
include $(top_srcdir)/config.make