[librsvg] Automatically generate ChangeLog from git history
- From: Christian Persch <chpe src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [librsvg] Automatically generate ChangeLog from git history
- Date: Tue, 6 Sep 2011 22:00:17 +0000 (UTC)
commit 455c8991757e3f8fb1be6932514212ed61089f6d
Author: Christian Persch <chpe gnome org>
Date: Tue Sep 6 08:52:37 2011 +0200
Automatically generate ChangeLog from git history
ChangeLog => ChangeLog.old | 0
Makefile.am | 11 +++++++++++
2 files changed, 11 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 687ef1e..505a08e 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -243,3 +243,14 @@ s-enum-types-c: $(headers) Makefile
&& echo timestamp > $(@F)
DISTCHECK_CONFIGURE_FLAGS = --enable-gtk-doc
+
+# ChangeLog generation
+
+ChangeLog:
+ $(AM_V_GEN) if test -d $(top_srcdir)/.git; then \
+ GIT_DIR="$(top_srcdir)/.git" git log --stat > $@; \
+ fi
+
+dist: ChangeLog
+
+.PHONY: ChangeLog
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]