[gnome-user-share] Make the ChangeLog file autogenerated



commit c11110c215e5f3abcaa751c7c5a1a79dadd53a11
Author: Bastien Nocera <hadess hadess net>
Date:   Wed Sep 2 13:05:33 2009 +0100

    Make the ChangeLog file autogenerated

 ChangeLog => ChangeLog.pre-git |    0
 Makefile.am                    |   11 +++++++++++
 2 files changed, 11 insertions(+), 0 deletions(-)
---
diff --git a/ChangeLog b/ChangeLog.pre-git
similarity index 100%
rename from ChangeLog
rename to ChangeLog.pre-git
diff --git a/Makefile.am b/Makefile.am
index 9f2ef09..fa6eff5 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -11,3 +11,14 @@ DISTCLEANFILES = \
 	intltool-update
 
 DISTCHECK_CONFIGURE_FLAGS = --disable-schemas-install
+
+# Build ChangeLog from GIT history
+ChangeLog:
+	@if test -f $(top_srcdir)/.git/HEAD; then \
+		git log --stat --after="Thu Jun 11 22:19:01 2009" > $@; \
+	fi
+
+dist: ChangeLog
+
+.PHONY: ChangeLog
+



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