aboutsummaryrefslogtreecommitdiff
path: root/Makefile.am
diff options
context:
space:
mode:
authorSergey Poznyakoff <gray@gnu.org>2015-01-06 09:36:00 +0200
committerSergey Poznyakoff <gray@gnu.org>2015-01-06 09:37:28 +0200
commitd2964dda42f601c514d3e822dc5efd75ef456a40 (patch)
tree5512e76e96b1b2e009f6beeefc2ba3a323a7e2d1 /Makefile.am
parenta42a0428deade09f9ac9755f9596ccf08f34dfc4 (diff)
downloadellinika-d2964dda42f601c514d3e822dc5efd75ef456a40.tar.gz
ellinika-d2964dda42f601c514d3e822dc5efd75ef456a40.tar.bz2
Build ChangeLog.
* Makefile.am (ChangeLog): New goal. * git2chg.awk: New file (from grecs).
Diffstat (limited to 'Makefile.am')
-rw-r--r--Makefile.am10
1 files changed, 9 insertions, 1 deletions
diff --git a/Makefile.am b/Makefile.am
index 2c075fc..2e4dd7e 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -1,5 +1,5 @@
# This file is part of Ellinika project.
-# Copyright (C) 2004, 2007, 2008, 2010 Sergey Poznyakoff
+# Copyright (C) 2004, 2007, 2008, 2010, 2015 Sergey Poznyakoff
#
# Ellinika is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
@@ -48,3 +48,11 @@ install-html:
done
install-data-local: install-html
+
+.PHONY: ChangeLog
+ChangeLog:
+ $(AM_V_GEN)if test -d .git; then \
+ git log --pretty='format:%ct %an <%ae>%n%n%s%n%n%b%n' | \
+ awk -f $(top_srcdir)/git2chg.awk \
+ -v append=$(top_srcdir)/ChangeLog.svn > ChangeLog; \
+ fi

Return to:

Send suggestions and report system problems to the System administrator.