[Xfce4-commits] <xfce4-notifyd:master> Autogenerate ChangeLog on release.
Jérôme Guelfucci
noreply at xfce.org
Wed May 8 14:18:01 CEST 2013
Updating branch refs/heads/master
to afa4baaa880ede57546535f35c0a3cb89d096b6b (commit)
from 7265d36643d238b7f947c6ef2126dd3d46390cd0 (commit)
commit afa4baaa880ede57546535f35c0a3cb89d096b6b
Author: Jérôme Guelfucci <jeromeg at 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 \
More information about the Xfce4-commits
mailing list