better implementation of 420e8349978b7c927a80f1a5dd63fd737526feed. thanks to Ticho...
[claws.git] / Makefile.am
index 05788ec265447323bcbc805e821a00d9251aba41..3fdb4aabf4250332b5abc8c37029ad7a8e98517c 100644 (file)
@@ -1,5 +1,10 @@
+# Copyright 1999-2014 the Claws Mail team.
+# This file is part of Claws Mail package, and distributed under the
+# terms of the General Public License version 3 (or later).
+# See COPYING file for license details.
+
 ACLOCAL_AMFLAGS = -I m4
-AUTOMAKE_OPTIONS = dist-bzip2
+AUTOMAKE_OPTIONS = dist-bzip2 dist-xz
 
 SUBDIRS = m4 po src tools config doc manual
 
@@ -8,6 +13,7 @@ EXTRA_DIST = \
        ChangeLog.gtk1 \
        ChangeLog.pre2.0.0 \
        ChangeLog.2.0.0-3.0.0 \
+       ChangeLog.3.0.0-3.9.0 \
        RELEASE_NOTES \
        claws-mail-128x128.png \
        claws-mail-64x64.png \
@@ -15,7 +21,8 @@ EXTRA_DIST = \
        claws-mail.desktop \
        claws-mail.png \
        autogen.sh \
-       claws-features.h.in
+       claws-features.h.in \
+       version
 
 # hicolor icon theme, base class of all icon themes
 pixmapdir=$(datadir)/icons/hicolor/48x48/apps
@@ -74,3 +81,12 @@ clawsinclude_HEADERS = \
 
 relnotesdir = $(docdir)
 relnotes_DATA = RELEASE_NOTES
+
+dist-local: ChangeLog
+
+maintainer-clean-local:
+       @rm -f ChangeLog
+       @rm -f version
+
+ChangeLog: version
+       @./tools/gitlog2changelog.py 3.9.0 > ChangeLog