From: PHO Date: Mon, 3 Oct 2011 13:31:58 +0000 (+0900) Subject: new target: ChangeLog X-Git-Url: https://git.cielonegro.org/gitweb.cgi?a=commitdiff_plain;h=051432fc89a3c06140e3ec8a3a154b18719022a9;p=cabal-shared-makefile.git new target: ChangeLog --- 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