diff options
author | Damien Diederen <dd@crosstwine.com> | 2014-06-30 18:38:09 +0400 |
---|---|---|
committer | Damien Diederen <dd@crosstwine.com> | 2014-07-01 01:59:22 +0400 |
commit | 8b2958941427bff0335cdfaa383e6e464c59f4ff (patch) | |
tree | d828c5ce221add71e77231c3b401fdcc41401b5d /Makefile.am | |
parent | 6a71dad5fe3f78f301b53a8ef424adccaff3bcb4 (diff) |
[dist] Do not include .git link files in dist tarball
Recent versions of Git co-host submodule GIT_DIRs in <root-project>/.git/
by default, and write their relative path into <subproject>/.git,
which is a regular file:
$ ls -l external/cecil/.git
-rw-r--r-- 1 foo bar 42 Jun 16 12:50 external/cecil/.git
$ cat external/cecil/.git
gitdir: ../../.git/modules/external/cecil
Relax the expression in Makefile.am to also delete these (broken)
"symlinks" when preparing a distribution tarball.
Diffstat (limited to 'Makefile.am')
-rw-r--r-- | Makefile.am | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile.am b/Makefile.am index 7d2251fd640..da8953cdf26 100644 --- a/Makefile.am +++ b/Makefile.am @@ -50,7 +50,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` + rm -rf `find $(top_distdir)/external -path '*\.git'` cp mcs/class/lib/basic/System.Configuration.dll mcs/class/lib/monolite/ cp mcs/class/lib/basic/System.Security.dll mcs/class/lib/monolite/ # Disable this for now because it is very slow and causes wrench to timeout: |