Clean up ChangeLog generation.

This commit is contained in:
Sam Hocevar 2010-02-09 02:16:20 +00:00 committed by sam
parent f3a6225995
commit bfb4a9dd1a
2 changed files with 586 additions and 537 deletions

1120
ChangeLog

File diff suppressed because it is too large Load Diff

View File

@ -15,8 +15,7 @@ AUTOMAKE_OPTIONS = foreign dist-bzip2
update-changelog: FORCE
git --help >/dev/null 2>&1 \
&& test -d .git \
&& git log --stat | grep -v '^ \(git-svn-id\|$$\)' \
| sed '/^Author:/s/ <.*@.*>//' > ChangeLog
&& git log --stat | awk 'function flush() { if (m != "") { print "Commit: " v "\nAuthor: " a m } m=""; v="UNSUBMITTED" } { if ($$1 == "commit") flush(); else if ($$1 == "Author:") { a = $$2 } else if ($$1 == "git-svn-id:") { split($$2,tmp,"@"); v=tmp[2] } else if ($$_ != " ") { m=m "\n" $$_ } } END { flush() }' > ChangeLog
echo-dirs: ; echo src test