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

github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarek Habersack <grendel@twistedcode.net>2012-07-18 16:06:34 +0400
committerMarek Habersack <grendel@twistedcode.net>2012-07-18 16:07:21 +0400
commita080b67a802ef299644c9e1603b98c06d195a657 (patch)
treed8b19cfd41c6cf30d93128256bcb3b4fc8a3ff64 /Makefile.am
parent1b747e0ac7292bfcd19d2351c6bae9f4ef5f4dca (diff)
Remove external directory git cruft from the dist tarball
Diffstat (limited to 'Makefile.am')
-rw-r--r--Makefile.am1
1 files changed, 1 insertions, 0 deletions
diff --git a/Makefile.am b/Makefile.am
index eef2c3800e1..7d94e380761 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -43,6 +43,7 @@ GIT_DIR ?= $(srcdir)/.git
dist-hook:
test -d $(distdir)/mcs || mkdir $(distdir)/mcs
d=`cd $(distdir)/mcs && pwd`; cd $(mcs_topdir) && $(MAKE) distdir=$$d dist-recursive
+ rm -rf `find $(top_distdir)/external -path '*\.git' -and -type d`
# Disable this for now because it is very slow and causes wrench to timeout:
# test ! -d $(GIT_DIR) || ./scripts/commits-to-changelog.py --root=$(distdir) last-commit-with-compulsory-changelog-entry