[gnome-lirc-properties] Generate ChangeLog from git history



commit a00aaf9fa9d6e94f162c7d99d4a7abb62bdc83ed
Author: Bastien Nocera <hadess hadess net>
Date:   Thu Sep 10 17:06:11 2009 +0100

    Generate ChangeLog from git history

 ChangeLog => ChangeLog.pre-git-log |    0
 Makefile.am                        |   10 ++++++++++
 2 files changed, 10 insertions(+), 0 deletions(-)
---
diff --git a/ChangeLog b/ChangeLog.pre-git-log
similarity index 100%
rename from ChangeLog
rename to ChangeLog.pre-git-log
diff --git a/Makefile.am b/Makefile.am
index 06e23ce..b4b2a55 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -22,3 +22,13 @@ DISTCLEANFILES = \
 DISTCHECK_CONFIGURE_FLAGS = \
 	--disable-scrollkeeper
 
+# Build ChangeLog from GIT history
+ChangeLog:
+	@if test -f $(top_srcdir)/.git/HEAD; then \
+		git log --stat --after="Thu Sep 10 18:00:37 2009" > $@; \
+	fi
+
+dist: ChangeLog
+
+.PHONY: ChangeLog
+



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]