[blam] Autogenerate the ChangeLog file from git
- From: Carlos MartÃn Nieto <cmartin src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [blam] Autogenerate the ChangeLog file from git
- Date: Sun, 13 May 2012 15:10:27 +0000 (UTC)
commit 201a1890d044da53e91adbeec2dd55e2a8bd441e
Author: Carlos MartÃn Nieto <carlos cmartin tk>
Date: Sun May 13 16:37:40 2012 +0200
Autogenerate the ChangeLog file from git
ChangeLog => ChangeLog.old | 0
Makefile.am | 9 +++++++++
2 files changed, 9 insertions(+), 0 deletions(-)
---
diff --git a/ChangeLog b/ChangeLog.old
similarity index 100%
rename from ChangeLog
rename to ChangeLog.old
diff --git a/Makefile.am b/Makefile.am
index e04ff5c..a7d59f1 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -67,3 +67,12 @@ DISTCLEANFILES = \
$(desktop_files) \
$(schemas_DATA)
+# Generate the ChangeLog from the git history
+ChangeLog:
+ @if test -f $(top_srcdir)/.git/HEAD; then \
+ git log --stat > $@; \
+ fi
+
+dist: ChangeLog
+
+.PHONY: ChangeLog
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]