[rhythmbox] discontinue changelogs, add rule to generate changelog for distribution



commit 2a3a45ec1e8be12f42046624bd21cbd82666f007
Author: Jonathan Matthew <jonathan d14n org>
Date:   Mon Apr 20 16:55:52 2009 +1000

    discontinue changelogs, add rule to generate changelog for distribution
---
 Makefile.am    |   19 +++++++++++++++++++
 help/ChangeLog |    5 +++++
 po/ChangeLog   |    5 +++++
 3 files changed, 29 insertions(+), 0 deletions(-)

diff --git a/Makefile.am b/Makefile.am
index 4afa5b0..b6b7de6 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -24,3 +24,22 @@ DISTCLEANFILES =			\
 	intltool-update
 
 CLEANFILES = ./po/.intltool-merge-cache
+
+CHANGELOG_START = RHYTHMBOX-0_12_0
+
+ChangeLog:
+	@echo Creating $@
+	@if test -d "$(srcdir)/.git"; then \
+	  (GIT_DIR=$(top_srcdir)/.git ./missing --run git log $(CHANGELOG_START).. --stat) > $  tmp \
+	  && mv -f $  tmp $@ \
+	  || ($(RM) $  tmp; \
+	      echo Failed to generate ChangeLog.  Your ChangeLog may be outdated >&2; \
+	      (test -f $@ || echo git-log is required to generate this file >> $@)); \
+	else \
+	  test -f $@ || \
+	  (echo A git checkout and git-log is required to generate ChangeLog >&2 && \
+	  echo A git checkout and git-log is required to generate this file >> $@); \
+	fi
+
+.PHONY: ChangeLog
+
diff --git a/help/ChangeLog b/help/ChangeLog
index 0173317..a14a31f 100644
--- a/help/ChangeLog
+++ b/help/ChangeLog
@@ -1,3 +1,8 @@
+=== ChangeLog discontinued ===
+
+	With the move to git, Rhythmbox is switching from a ChangeLog file
+	to relying on commit messages to provide change history.
+
 2009-03-16  Petr Kovar  <pknbe volny cz>
 
 	* cs/cs.po: Added Czech translation by Martin Picek.
diff --git a/po/ChangeLog b/po/ChangeLog
index fbaa956..594e40b 100644
--- a/po/ChangeLog
+++ b/po/ChangeLog
@@ -1,3 +1,8 @@
+=== ChangeLog discontinued ===
+
+	With the move to git, Rhythmbox is switching from a ChangeLog file
+	to relying on commit messages to provide change history.
+
 2009-04-12  Jorge Gonzalez  <jorgegonz svn gnome org>
 
 	* es.po: Updated Spanish translation



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