Fix bug #3009 ‘"Rebuild folder tree" causes SIGSEGV if a directory name isn't valid...
[claws.git] / Makefile.am
index d2c8831817e029486d08fab4184899bd4a40d3b2..9393b485e1269e6570a84bcc49e2d1e326d8b9ec 100644 (file)
@@ -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