From 4abc76f17949e855ac2551cc35467b0d972bdffb Mon Sep 17 00:00:00 2001 From: Sjoerd Simons Date: Wed, 20 Aug 2008 15:49:36 +0100 Subject: Copy git dist-hook from gabble --- Makefile.am | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'Makefile.am') diff --git a/Makefile.am b/Makefile.am index 9193be04..313cea8e 100644 --- a/Makefile.am +++ b/Makefile.am @@ -4,7 +4,10 @@ SUBDIRS = tools extensions lib src data m4 tests docs dist-hook: chmod u+w ${distdir}/ChangeLog - if test -d _darcs; then darcs changes >${distdir}/ChangeLog; fi + if test -d ${top_srcdir}/.git; then \ + git log --stat > ${distdir}/ChangeLog || \ + git log > ${distdir}/ChangeLog; \ + fi valgrind: cd tests && $(MAKE) valgrind -- cgit v1.2.1