Probably fix bug #3050, "Claws mail closes when one attempts to delete a tag"
[claws.git] / Makefile.am
index d2c8831817e029486d08fab4184899bd4a40d3b2..dce9f25e91e6e396833bd2d9f12e124896ade33a 100644 (file)
@@ -1,5 +1,5 @@
 ACLOCAL_AMFLAGS = -I m4
-AUTOMAKE_OPTIONS = dist-bzip2
+AUTOMAKE_OPTIONS = dist-bzip2 dist-xz
 
 SUBDIRS = m4 po src tools config doc manual
 
@@ -17,7 +17,6 @@ EXTRA_DIST = \
        claws-mail.png \
        autogen.sh \
        claws-features.h.in \
-       version.in \
        version
 
 # hicolor icon theme, base class of all icon themes
@@ -78,6 +77,11 @@ clawsinclude_HEADERS = \
 relnotesdir = $(docdir)
 relnotes_DATA = RELEASE_NOTES
 
-dist-hook:
+dist-local: ChangeLog
+
+maintainer-clean-local:
        @rm -f ChangeLog
+       @rm -f version
+
+ChangeLog: version
        @./tools/gitlog2changelog.py 3.9.0 > ChangeLog