diff --git a/Makefile.am b/Makefile.am index f05d0b3..5f0fae2 100644 --- a/Makefile.am +++ b/Makefile.am @@ -11,3 +11,13 @@ EXTRA_DIST = \ pkgconfigdir = $(libdir)/pkgconfig pkgconfig_DATA = compizconfig-python.pc + +# Build ChangeLog from GIT history +ChangeLog: + $(AM_V_GEN) if test -d $(top_srcdir)/.git; then \ + GIT_DIR="$(top_srcdir)/.git" git log --stat > $@; \ + fi + +dist: ChangeLog + +.PHONY: ChangeLog