diff options
author | Mark Probst <mark.probst@gmail.com> | 2010-08-05 02:13:06 +0400 |
---|---|---|
committer | Mark Probst <mark.probst@gmail.com> | 2010-08-05 02:13:06 +0400 |
commit | 7d1d281daa5ff4e1661ac9fe1e3b30035fcf2542 (patch) | |
tree | bef92eccf0cf6512d087180c693a769d9a4ef6f4 /Makefile.am | |
parent | 934e05706840d7154d1423237538493232e5f94b (diff) |
[dist] Only run the commit-to-changelog script if there's a repository.
Since "make dist" should also work from a tarball we must only call
the commit-to-changelog script if there's a git repository present.
If we're already in a disted tree, the script has already run.
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 91bdc45c7b7..beeda8e3af5 100644 --- a/Makefile.am +++ b/Makefile.am @@ -27,7 +27,7 @@ DISTCHECK_CONFIGURE_FLAGS = EXTERNAL_MCS=false EXTERNAL_RUNTIME=false dist-hook: test -d $(distdir)/mcs || mkdir $(distdir)/mcs d=`cd $(distdir)/mcs && pwd`; cd $(mcs_topdir) && $(MAKE) distdir=$$d dist-recursive - ./scripts/commits-to-changelog.py --root=$(distdir) last-commit-with-compulsory-changelog-entry + test ! -d .git || ./scripts/commits-to-changelog.py --root=$(distdir) last-commit-with-compulsory-changelog-entry pkgconfigdir = $(libdir)/pkgconfig noinst_DATA = mono-uninstalled.pc |