From 94d92cf7fd341278ef7507ca33e7a23c6d6257cf Mon Sep 17 00:00:00 2001 From: Curtis Gedak Date: Sun, 19 Apr 2009 15:19:15 -0600 Subject: [PATCH] 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(+) diff --git a/ChangeLog b/ChangeLog index 7773ec36..2687d56c 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,16 @@ +2009-04-17 Curtis Gedak + + * *: 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 * configure.in: gparted-0.4.4 diff --git a/Makefile.am b/Makefile.am index c2827f43..ee873374 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 347f9ad3..ec1f980f 100644 --- a/help/ChangeLog +++ b/help/ChangeLog @@ -1,3 +1,13 @@ +2009-04-17 Curtis Gedak + + * *: 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 * gparted-0.4.4 diff --git a/po/ChangeLog b/po/ChangeLog index 59a51157..ef348b0a 100644 --- a/po/ChangeLog +++ b/po/ChangeLog @@ -1,3 +1,13 @@ +2009-04-17 Curtis Gedak + + * *: 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 * es.po: Updated Spanish translation