Fixes for window fade-outs
[dana/xcompmgr.git] / Makefile.am
index cee043d..4bc0ba3 100644 (file)
@@ -7,4 +7,15 @@ INCLUDES = @XCOMPMGR_CFLAGS@
 
 EXTRA_DIST = \
        autogen.sh \
+       ChangeLog \
        ${man_MANS}
+
+MAINTAINERCLEANFILES=ChangeLog
+
+.PHONY: ChangeLog
+
+ChangeLog:
+       (GIT_DIR=$(top_srcdir)/.git git-log > .changelog.tmp && mv .changelog.tmp ChangeLog; rm -f .changelog.tmp) || (touch ChangeLog; echo 'git directory not found: installing possibly empty changelog.' >&2)
+
+dist-hook: ChangeLog
+