[geany/geany] 292757: Generate ChangeLog from Git log

Colomban Wendling git-noreply at xxxxx
Sun Jun 17 17:35:12 UTC 2012


Branch:      refs/heads/master
Author:      Colomban Wendling <ban at herbesfolles.org>
Committer:   Colomban Wendling <ban at herbesfolles.org>
Date:        Sun, 17 Jun 2012 17:35:12
Commit:      292757777c6060402ddda2e357322efc67b63dd2
             https://github.com/geany/geany/commit/292757777c6060402ddda2e357322efc67b63dd2

Log Message:
-----------
Generate ChangeLog from Git log

The Makefile rule comes from https://live.gnome.org/Git/ChangeLog with
slight modifications.


Modified Paths:
--------------
    ChangeLog
    ChangeLog.pre-1-22
    Makefile.am

Modified: ChangeLog
6877 files changed, 2 insertions(+), 6875 deletions(-)
===================================================================
No diff available, check online


Modified: ChangeLog.pre-1-22
6875 files changed, 6875 insertions(+), 0 deletions(-)
===================================================================
No diff available, check online


Modified: Makefile.am
15 files changed, 15 insertions(+), 0 deletions(-)
===================================================================
@@ -34,6 +34,7 @@ EXTRA_DIST = \
 	geany.pc.in \
 	geany.spec \
 	ChangeLog.pre-0-17 \
+	ChangeLog.pre-1-22 \
 	HACKING \
 	README.I18N \
 	README.Packagers \
@@ -85,6 +86,20 @@ install-data-only:
 	done
 
 
+dist-hook:
+	@if test -d "$(top_srcdir)/.git"; then \
+		echo '  GEN    ChangeLog'; \
+		( cd "$(top_srcdir)" && \
+		  echo '# Generated by Makefile. Do not edit.' && echo && \
+		  git log --stat 0.21.0.. ) > ChangeLog.tmp \
+		&& mv -f ChangeLog.tmp "$(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
+
+
 BZIP2_ENV =--best
 
 dist-bzip2: distdir


@@ Diff output truncated at 100000 characters. @@


--------------
This E-Mail was brought to you by github_commit_mail.py (Source: TBD).



More information about the Commits mailing list