From 03efbfd62b9586a3fd4947247f69d98c21b82c4c Mon Sep 17 00:00:00 2001 From: Daniel Mach Date: Sun, 27 Oct 2013 15:29:15 -0400 Subject: [PATCH] Add 'make log' command to print changelog for spec. --- Makefile | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Makefile b/Makefile index 20eaea51..2f4e604e 100644 --- a/Makefile +++ b/Makefile @@ -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