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:
authorAndrew Jorgensen <ajorgensen@novell.com>2010-08-26 22:38:00 +0400
committerAndrew Jorgensen <ajorgensen@novell.com>2010-08-26 23:29:23 +0400
commitbb580b82a0e5a9c373f2c4d56450725139c420d6 (patch)
tree737b3ed6ecb584e21f10d81749d263e495a63a77 /Makefile.am
parentbeabbf7a78ee309504cb01a331a0867acaabca2e (diff)
Fix the changelog script to work in MonkeyWrench
* Makefile.am: Check for GIT_DIR if defined (rather than .git) * commits-to-changelog.py: BUILD_REVISION rather than HEAD if defined
Diffstat (limited to 'Makefile.am')
-rw-r--r--Makefile.am3
1 files changed, 2 insertions, 1 deletions
diff --git a/Makefile.am b/Makefile.am
index 1a75a567d73..0017405ca5a 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -24,10 +24,11 @@ EXTRA_DIST= nls.m4 po.m4 progtest.m4 mono-uninstalled.pc.in build-mingw32.sh LIC
DISTCHECK_CONFIGURE_FLAGS = EXTERNAL_MCS=false EXTERNAL_RUNTIME=false
# Distribute the 'mcs' tree too
+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
- test ! -d .git || ./scripts/commits-to-changelog.py --root=$(distdir) last-commit-with-compulsory-changelog-entry
+ test ! -d $(GIT_DIR) || ./scripts/commits-to-changelog.py --root=$(distdir) last-commit-with-compulsory-changelog-entry
pkgconfigdir = $(libdir)/pkgconfig
noinst_DATA = mono-uninstalled.pc