Updating branch refs/heads/master
         to afa4baaa880ede57546535f35c0a3cb89d096b6b (commit)
       from 7265d36643d238b7f947c6ef2126dd3d46390cd0 (commit)

commit afa4baaa880ede57546535f35c0a3cb89d096b6b
Author: Jérôme Guelfucci <jero...@xfce.org>
Date:   Wed May 8 14:12:08 2013 +0200

    Autogenerate ChangeLog on release.

 Makefile.am |    9 +++++++++
 1 files changed, 9 insertions(+), 0 deletions(-)

diff --git a/Makefile.am b/Makefile.am
index 0d47598..df81bea 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -254,6 +254,15 @@ release: gpg-sign
        mv $(PACKAGE)-$(VERSION).tar.bz2* releases/
        -rm $(PACKAGE)-$(VERSION).tar.gz
 
+.PHONY: ChangeLog
+
+ChangeLog: Makefile
+       (GIT_DIR=$(top_srcdir)/.git git log > .changelog.tmp \
+       && mv .changelog.tmp ChangeLog; rm -f .changelog.tmp) \
+       || (touch ChangeLog; echo 'Git directory not found: installing possibly 
empty changelog.' >&2)
+
+dist-hook: ChangeLog
+
 #Tests
 noinst_PROGRAMS = \
        tests/test-text \
_______________________________________________
Xfce4-commits mailing list
Xfce4-commits@xfce.org
https://mail.xfce.org/mailman/listinfo/xfce4-commits

Reply via email to