From 982ea06e104284d3a3db2f14b23780f529d33528 Mon Sep 17 00:00:00 2001 From: Stef Walter Date: Wed, 16 Jun 2010 18:29:45 +0000 Subject: Release version 0.2.1 --- Makefile.am | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) (limited to 'Makefile.am') diff --git a/Makefile.am b/Makefile.am index a8d1f9f..8145774 100644 --- a/Makefile.am +++ b/Makefile.am @@ -2,5 +2,16 @@ EXTRA_DIST = common include SUBDIRS = plugin tools tests doc dist-hook: - rm -rf `find $(distdir)/ -name .svn` + @if test -d "$(srcdir)/.git"; \ + then \ + echo Creating ChangeLog && \ + ( cd "$(top_srcdir)" && \ + echo '# Generate automatically. Do not edit.'; echo; \ + $(top_srcdir)/missing --run git log --stat --date=short ) > ChangeLog.tmp \ + && mv -f ChangeLog.tmp $(top_distdir)/ChangeLog \ + || ( rm -f ChangeLog.tmp ; \ + echo Failed to generate ChangeLog >&2 ); \ + else \ + echo A git clone is required to generate a ChangeLog >&2; \ + fi -- cgit v1.2.3