[evolution-mapi] Generate ChangeLog from git log



commit 6034aa87f6c8790607b7abf8baed8b5df4f004fa
Author: Milan Crha <mcrha redhat com>
Date:   Fri Feb 10 15:16:04 2012 +0100

    Generate ChangeLog from git log

 ChangeLog                           |  195 +-----
 Makefile.am                         |   21 +-
 src/account-setup-eplugin/ChangeLog |  421 -----------
 src/addressbook/ChangeLog           |  267 -------
 src/calendar/ChangeLog              |  596 ---------------
 src/camel/ChangeLog                 |  881 -----------------------
 src/libexchangemapi/ChangeLog       | 1352 -----------------------------------
 7 files changed, 19 insertions(+), 3714 deletions(-)
---
diff --git a/ChangeLog b/ChangeLog
index 39dbd88..dbda2d1 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,193 +1,2 @@
-2009-09-11  Johnny Jacob  <jjohnny novell com>
-
-	* configure.ac (EVO_MAPI_API_VERSION): Requirement bumped to
-	2.29.1 because of changes in plugins (Removal of EMPopup).
-
-2009-09-07  Johnny Jacob  <jjohnny novell com>
-
-	* NEWS : Updates for 0.27.92.
-
-2009-08-25  Johnny Jacob  <jjohnny novell com>
-
-	* configure.ac: Post release version bump. 0.27.92.
-
-2009-08-24  Johnny Jacob  <jjohnny novell com>
-
-	* NEWS: Updates for 0.27.91 release.
-
-2009-08-12  Johnny Jacob  <jjohnny novell com>
-
-	* configure.ac: Post release version bump. 0.27.91
-
-2009-08-10  Johnny Jacob  <jjohnny novell com>
-
-	* configure.ac: Version bump.
-
-	* NEWS : Updates for 0.27.90.
-
-2009-07-27  Johnny Jacob  <jjohnny novell com>
-
-	* NEWS : Updates for 0.27.5 release.
-
-2009-07-13  Johnny Jacob  <jjohnny novell com>
-
-	* configure.ac: Post release version bump. 0.27.5.
-
-2009-07-13  Johnny Jacob  <jjohnny novell com>
-
-	* NEWS: 0.27.4 release updates.
-
-2009-06-15  Johnny Jacob  <jjohnny novell com>
-
-	* configure.ac: Post release version bump. 0.27.4.
-
-2009-06-15  Johnny Jacob  <jjohnny novell com>
-
-	* NEWS: Updates for 0.27.3 .
-
-2009-06-13  Johnny Jacob  <jjohnny novell com>
-
-	* configure.ac: Reverting libmapi version bump because of
-	http://trac.openchange.org/ticket/165 : Incorrect version in
-	tarball.
-
-2009-06-11  Johnny Jacob  <jjohnny novell com>
-
-	* configure.ac: libmapi minimum dependancy version
-	bumped to 0.8.2.
-
-2009-05-26  Johnny Jacob  <jjohnny novell com>
-
-	* configure.ac: post release version bump. 0.27.3.
-
-2009-05-26  Johnny Jacob  <jjohnny novell com>
-
-	* NEWS: update for 0.27.2.
-
-	* configure.ac: Version bump to 0.27.2.
-
-2009-05-05  Johnny Jacob  <jjohnny novell com>
-
-	* NEWS: Updates for 0.27.1
-
-	* configure.ac: Bumped EDS / EVO dependancy to
-	2.27.1 because of ABI change in libcamel.
-
-2009-04-14  Johnny Jacob  <jjohnny novell com>
-
-	* configure.ac: Version bump to 2.26.1.
-
-	* NEWS: updates for 2.26.1.
-
-2009-03-19  Johnny Jacob  <jjohnny novell com>
-
-	* NEWS: News updates.
-
-	* configure.ac: Version bump to 0.26.0.1
-
-2009-03-16  Johnny Jacob  <jjohnny novell com>
-
-	* NEWS: Updates for 0.26.0
-
-2009-03-02  Matthew Barnes  <mbarnes redhat com>
-
-	* configure.ac: Post-release version bump.
-
-2009-03-02  Matthew Barnes  <mbarnes redhat com>
-
-	* NEWS: Updates for 0.25.92.
-
-2009-02-16  Johnny Jacob  <jjohnny novell com>
-
-	* NEWS: Updates for 0.25.91.
-
-2009-02-04  Milan Crha  <mcrha redhat com>
-
-	** Fix for bug #569482
-
-	* configure.in: Renamed to configure.ac.
-	* autogen.sh: Check for configure.ac.
-	* configure.ac: Added EVO_MAPI_API_VERSION_MACRO and
-	EVO_MAPI_API_VERSION variable. Copying libexchangemapi.pc.in
-	to libexchangemapi-1.0.pc directly.
-
-2009-02-03  Johnny Jacob  <jjohnny novell com>
-
-	* configure.in: Version bump. 0.25.91.
-
-2009-02-02  Johnny Jacob  <jjohnny novell com>
-
-	* NEWS: Updates for 0.25.90 release.
-
-2009-01-30  Johnny Jacob  <jjohnny novell com>
-
-	* configure.in: Ahem. itz 0.25.90 not 0.25.6 :) . Fixes version glitch.
-
-2009-01-28  Johnny Jacob  <jjohnny novell com>
-
-	** Fixes #569246. Patch by Jelmer Vernooij <jelmer samba org>
-
-	* configure.in (_GNU_SOURCE): Use GNU extensions.
-
-2009-01-27  Johnny Jacob  <jjohnny novell com>
-
-	** Committing on behalf of Jelmer Vernooij <jelmer samba org>
-
-	* configure.in : Allow newer libmapi versions.
-
-2009-01-21  Suman Manjunath  <msuman novell com>
-
-	** Fix for bug #541209
-
-	** Adapt to the new APIs from upstream libical.
-
-	* configure.in: HANDLE_LIBICAL_MEMORY need not be defined anymore.
-
-2009-01-19  Johnny Jacob  <jjohnny novell com>
-
-	* configure.in: Version bumped to 0.25.6.
-	
-2009-01-19  Johnny Jacob  <jjohnny novell com>
-
-	* NEWS: Updates for 0.25.5 .
-
-2009-01-05  Suman Manjunath  <msuman novell com>
-
-	* NEWS: Updates for 0.25.4 release.
-
-2008-12-19  Milan Crha  <mcrha redhat com>
-
-	** Part of fix for bug #564899
-
-	* configure.in: Define HANDLE_LIBICAL_MEMORY.
-
-2008-12-15  Johnny Jacob  <jjohnny novell com>
-
-	* configure.in: Version bumped to 0.25.4 . Using 
-	post-release-version increment.
-	
-2008-12-15  Johnny Jacob  <jjohnny novell com>
-
-	* configure.in: Version bumped to 0.25.3 (from 0.1)
-
-	* NEWS: 0.25.3 updates.
-
-2008-11-28  Suman Manjunath  <msuman novell com>
-
-	* configure.in: Bump required versions of Evolution-Data-Server
-	and Evolution.
-
-2008-11-19  Suman Manjunath  <msuman novell com>
-
-	* configure.in: Loads of checks added, cleaned 'em up.
-
-2008-11-19  Johnny Jacob  <jjohnny novell com>
-
-	* COPYING.LGPL2: Added.
-
-2008-11-18  Johnny Jacob  <jjohnny novell com>
-
-	* Initial checkin from EXCHANGE_MAPI_BRANCH.
-	svn://svn.gnome.org/svn/evolution-data-server/branches/EXCHANGE_MAPI_BRANCH
-	svn://svn.gnome.org/svn/evolution/branches/EXCHANGE_MAPI_BRANCH
-
+* *: The ChangeLog is auto-generated when releasing.  If you
+are seeing this, use 'git log' for a detailed list of changes.
diff --git a/Makefile.am b/Makefile.am
index 0860a46..f963bfe 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -1,11 +1,8 @@
 SUBDIRS = src po
 DIST_SUBDIRS= src po
 
-changelogs =			\
-	ChangeLog
-
 EXTRA_DIST = 			\
-	$(changelog)		\
+	ChangeLog		\
 	eplugin-rule.mk		\
 	intltool-merge.in	\
 	intltool-update.in	\
@@ -15,4 +12,20 @@ CLEANFILES = 	intltool-merge	\
 		intltool-update	\
 		intltool-extract	
 
+# Generate a ChangeLog file from 'git log'
+dist-hook:
+	@if test -d "$(srcdir)/.git"; \
+	then \
+		echo Creating ChangeLog && \
+		( cd "$(top_srcdir)" && \
+		  echo '# Generated by Makefile. Do not edit.'; echo; \
+		  $(top_srcdir)/missing --run git log --stat \
+		  EVOLUTION_MAPI_0_30_1..) > ChangeLog.tmp \
+		&& mv -f ChangeLog.tmp $(top_distdir)/ChangeLog \
+		|| ( rm -f ChangeLog.tmp ; \
+		     echo Failed to generate ChangeLog >&2 ); \
+	else \
+		echo A git clone is required to generate a ChangeLog >&2; \
+	fi
+
 -include $(top_srcdir)/git.mk



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