Add 'make log' command to print changelog for spec.

This commit is contained in:
Daniel Mach 2013-10-27 15:29:15 -04:00
parent 8b1c2433c9
commit 03efbfd62b

View File

@ -21,6 +21,9 @@ tag:
Changelog:
(GIT_DIR=.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)
log:
@(LC_ALL=C date +"* %a %b %e %Y `git config --get user.name` <`git config --get user.email`> - VERSION"; git log --pretty="format:- %s (%an)" | cat) | less
archive:
@rm -f Changelog
@rm -f MANIFEST