diff options
author | Stef Walter <stef@memberwebs.com> | 2010-06-16 18:29:45 +0000 |
---|---|---|
committer | Stef Walter <stef@memberwebs.com> | 2010-06-16 18:29:45 +0000 |
commit | 982ea06e104284d3a3db2f14b23780f529d33528 (patch) | |
tree | e3be637acbc43b85c7ef04211c22464898db5055 /Makefile.am | |
parent | 9b67a8644c20fab0ed58a6c9e10bbde153ed6068 (diff) |
Release version 0.2.1
Diffstat (limited to 'Makefile.am')
-rw-r--r-- | Makefile.am | 13 |
1 files changed, 12 insertions, 1 deletions
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 |