Have Changelog depend on version so that it gets regenerated when
authorColin Leroy <colin@colino.net>
Thu, 21 Mar 2013 10:36:26 +0000 (11:36 +0100)
committerColin Leroy <colin@colino.net>
Thu, 21 Mar 2013 10:36:26 +0000 (11:36 +0100)
needed. Have make clean clean it.

Makefile.am

index d2c8831..10bc3ff 100644 (file)
@@ -78,6 +78,10 @@ clawsinclude_HEADERS = \
 relnotesdir = $(docdir)
 relnotes_DATA = RELEASE_NOTES
 
-dist-hook:
+dist-hook: ChangeLog
+
+clean-local:
        @rm -f ChangeLog
+
+ChangeLog: version
        @./tools/gitlog2changelog.py 3.9.0 > ChangeLog