From 051432fc89a3c06140e3ec8a3a154b18719022a9 Mon Sep 17 00:00:00 2001 From: PHO Date: Mon, 3 Oct 2011 22:31:58 +0900 Subject: [PATCH] new target: ChangeLog --- cabal-package.mk | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/cabal-package.mk b/cabal-package.mk index 50589e0..e412139 100644 --- a/cabal-package.mk +++ b/cabal-package.mk @@ -99,6 +99,13 @@ test: build ditz: $(DITZ) html dist/ditz +ChangeLog: + rm -f $@ + $(DITZ) releases | awk '{print $$1}' | sort --reverse | while read i; do \ + $(DITZ) changelog $$i >> $@; \ + done + head $@ + fixme: @$(FIND) . \ \( -name 'dist' -or -name '.git' -or -name '_darcs' \) -prune \ @@ -134,4 +141,5 @@ push-doc: doc fi .PHONY: build build-hook setup-config setup-config-hook run clean clean-hook \ - install doc sdist test lint push push-repo push-ditz push-doc + install doc sdist test lint push push-repo push-ditz push-doc \ + ChangeLog -- 2.40.0