diff options
author | Andrew Jorgensen <ajorgensen@novell.com> | 2010-08-26 22:38:00 +0400 |
---|---|---|
committer | Andrew Jorgensen <ajorgensen@novell.com> | 2010-08-26 23:29:23 +0400 |
commit | bb580b82a0e5a9c373f2c4d56450725139c420d6 (patch) | |
tree | 737b3ed6ecb584e21f10d81749d263e495a63a77 /Makefile.am | |
parent | beabbf7a78ee309504cb01a331a0867acaabca2e (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.am | 3 |
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 |