[chronojump] Auto-generate ChangeLog in 'make dist' using git-log
- From: Andoni Morales Alastruey <amorales src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [chronojump] Auto-generate ChangeLog in 'make dist' using git-log
- Date: Wed, 23 Sep 2009 19:24:01 +0000 (UTC)
commit 3ec40eb851b8d9b06073dea77cf48648ebb78eb3
Author: Andoni Morales Alastruey <ylatuya gmail com>
Date: Wed Sep 23 21:16:14 2009 +0200
Auto-generate ChangeLog in 'make dist' using git-log
Makefile.am | 10 ++++++++++
1 files changed, 10 insertions(+), 0 deletions(-)
---
diff --git a/Makefile.am b/Makefile.am
index 57e058e..150158f 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -8,3 +8,13 @@ endif
if ENABLE_RELEASE
SUBDIRS = chronojump_server chronopic-tests src po manual
endif
+
+# Build ChangeLog from GIT history
+ChangeLog:
+ @if test -f $(top_srcdir)/.git/HEAD; then \
+ git log --pretty=format:'%ad %an <%ae>%n%s ' --stat --after="Jul 01 23:47:57 2009" > $@; \
+ fi
+
+dist: ChangeLog
+
+.PHONY: ChangeLog
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]