From: Keith Packard Date: Wed, 19 Aug 2009 00:30:43 +0000 (-0700) Subject: Create ChangeLog from git log X-Git-Tag: 0.5^2~3 X-Git-Url: https://git.gag.com/?p=fw%2Faltos;a=commitdiff_plain;h=da12b89fb056a68e65ba363fef91d266727cb685 Create ChangeLog from git log --- diff --git a/ChangeLog b/ChangeLog deleted file mode 100644 index e69de29b..00000000 diff --git a/Makefile.am b/Makefile.am index 2b76b5d4..96b9dea9 100644 --- a/Makefile.am +++ b/Makefile.am @@ -1 +1,13 @@ SUBDIRS=src ao-view ao-tools ao-utils + +EXTRA_DIST = ChangeLog + +MAINTAINERCLEANFILES = ChangeLog + +.PHONY: ChangeLog + +ChangeLog: + (GIT_DIR=$(top_srcdir)/.git git log > .changelog.tmp && mv .changelog.tmp ChangeLog; rm -f .changelog.tmp) || \ + (touch ChangeLog; echo 'git directory not found: installing possibly empty changelog.' >&2) + +dist-hook: ChangeLog