[totem-pl-parser] Use git to generate the ChangeLog



commit eba233110aca33f3f20a7e9e44be3408ab5227e9
Author: Bastien Nocera <hadess hadess net>
Date:   Thu Jul 23 20:45:42 2009 +0100

    Use git to generate the ChangeLog

 ChangeLog => ChangeLog.pre-2.27.2 |    0
 Makefile.am                       |   11 +++++++++++
 2 files changed, 11 insertions(+), 0 deletions(-)
---
diff --git a/ChangeLog b/ChangeLog.pre-2.27.2
similarity index 100%
rename from ChangeLog
rename to ChangeLog.pre-2.27.2
diff --git a/Makefile.am b/Makefile.am
index 125cbbf..3a14c52 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -21,3 +21,14 @@ pkgconfigdir = $(libdir)/pkgconfig
 pkgconfig_DATA = totem-plparser.pc totem-plparser-mini.pc
 
 DISTCHECK_CONFIGURE_FLAGS = --disable-scrollkeeper --enable-gtk-doc
+
+# Build ChangeLog from GIT history
+ChangeLog:
+	@if test -f $(top_srcdir)/.git/HEAD; then \
+		git log --stat --after="Mon Jul 20 23:47:57 2009" > $@; \
+	fi
+
+dist: ChangeLog
+
+.PHONY: ChangeLog
+



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