[gparted] Add note that ChangeLogs are no longer used



commit 94d92cf7fd341278ef7507ca33e7a23c6d6257cf
Author: Curtis Gedak <gedakc gmail com>
Date:   Sun Apr 19 15:19:15 2009 -0600

    Add note that ChangeLogs are no longer used
    
    Enhance Makefile.am to add 'git log' entries to the ChangeLog
    after the release of gparted-0.4.4.  This is performed by a dist-hook
    target only on release.  E.g., make dist
---
 ChangeLog      |   13 +++++++++++++
 Makefile.am    |   16 ++++++++++++++++
 help/ChangeLog |   10 ++++++++++
 po/ChangeLog   |   10 ++++++++++
 4 files changed, 49 insertions(+), 0 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index 7773ec3..2687d56 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,16 @@
+2009-04-17  Curtis Gedak  <gedakc gmail com>
+
+        * *: This ChangeLog is no longer used.
+
+	     ChangeLog entries after 2009-04-17 are auto-generated when
+	     releasing.
+	
+	     On April 17, 2009, the source code repository was converted
+	     from svn to git.  ChangeLogs are seldom used with git.
+	
+	     For a detailed list of changes in the entire project,
+	     use 'git log' from the top level source directory.
+
 2009-04-02  Curtis Gedak  <gedakc gmail com>
 
 	* configure.in: gparted-0.4.4
diff --git a/Makefile.am b/Makefile.am
index c2827f4..ee87337 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -27,6 +27,22 @@ gparted:  gparted.in Makefile
 	$(do_subst) < $(srcdir)/gparted.in > gparted
 	chmod +x gparted
 
+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 GPARTED_0_4_4.. \
+		) > ChangeLog.tmp \
+		&& cat $(top_srcdir)/ChangeLog >> 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
+
 EXTRA_DIST =			\
 	$(DESKTOP_IN_IN_FILES)	\
 	$(DESKTOP_FILES)	\
diff --git a/help/ChangeLog b/help/ChangeLog
index 347f9ad..ec1f980 100644
--- a/help/ChangeLog
+++ b/help/ChangeLog
@@ -1,3 +1,13 @@
+2009-04-17  Curtis Gedak  <gedakc gmail com>
+
+        * *: This ChangeLog is no longer used.
+
+	     On April 17, 2009, the source code repository was converted
+	     from svn to git.  ChangeLogs are seldom used with git.
+	
+	     For a detailed list of changes in only the help directory, 
+	     use 'git log -- help' from the top level source directory.
+
 2009-04-02  Curtis Gedak  <gedakc gmail com>
 
 	* gparted-0.4.4
diff --git a/po/ChangeLog b/po/ChangeLog
index 59a5115..ef348b0 100644
--- a/po/ChangeLog
+++ b/po/ChangeLog
@@ -1,3 +1,13 @@
+2009-04-17  Curtis Gedak  <gedakc gmail com>
+
+        * *: This ChangeLog is no longer used.
+
+	     On April 17, 2009, the source code repository was converted
+	     from svn to git.  ChangeLogs are seldom used with git.
+	
+	     For a detailed list of changes in only the po directory, 
+	     use 'git log -- po' from the top level source directory.
+
 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]