[evolution-ews] Generate a ChangeLog file in tarballs.
- From: Matthew Barnes <mbarnes src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution-ews] Generate a ChangeLog file in tarballs.
- Date: Sat, 17 Nov 2012 16:23:59 +0000 (UTC)
commit 3c6104c7ecc59333b106caa84fd66508d3b4f6d6
Author: Matthew Barnes <mbarnes redhat com>
Date: Sat Nov 17 09:13:26 2012 -0500
Generate a ChangeLog file in tarballs.
Makefile.am | 16 ++++++++++++++++
1 files changed, 16 insertions(+), 0 deletions(-)
---
diff --git a/Makefile.am b/Makefile.am
index 3e831b0..98caa3a 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -44,4 +44,20 @@ MAINTAINERCLEANFILES = \
$(srcdir)/m4/lt~obsolete.m4 \
$(NULL)
+# Generate a ChangeLog file from 'git log'
+dist-hook:
+ @if test -d "$(srcdir)/.git"; \
+ then \
+ echo Creating ChangeLog && \
+ ( cd "$(top_srcdir)" && \
+ echo '# Generated by Makefile. Do not edit.'; echo; \
+ $(top_srcdir)/missing --run git log --stat \
+ EVOLUTION_EWS_3_2_1..) > ChangeLog.tmp \
+ && mv -f ChangeLog.tmp $(top_distdir)/ChangeLog \
+ || ( rm -f ChangeLog.tmp ; \
+ echo Failed to generate ChangeLog >&2 ); \
+ else \
+ echo A git clone is required to generate a ChangeLog >&2; \
+ fi
+
-include $(top_srcdir)/git.mk
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]