From ed0e3cbd6dfe49c2cceb26eb65466dd5905b1c5b Mon Sep 17 00:00:00 2001 From: Kay Sievers Date: Sun, 4 Dec 2005 02:31:38 +0100 Subject: add target to to generate ChangeLog section I can't remember that magic sequence... Signed-off-by: Kay Sievers --- Makefile | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 5995b57697..d4ee3eb6be 100644 --- a/Makefile +++ b/Makefile @@ -377,9 +377,19 @@ test tests: all .PHONY: test tests buildtest: - ./test/simple-build-check.sh + test/simple-build-check.sh .PHONY: buildtest +ChangeLog: Makefile + @ mv $@ $@.tmp + @ echo "Summary of changes from v$(VERSION) to v$(shell printf '%03i' $$(expr $(VERSION) + 1))" >> $@ + @ echo "============================================" >> $@ + @ git log --pretty=short $(VERSION)..HEAD | git shortlog >> $@ + @ echo >> $@ + @ cat $@ + @ cat $@.tmp >> $@ + @ rm $@.tmp + gcov-all: $(MAKE) clean all STRIPCMD= USE_GCOV=true @echo -- cgit v1.2.3-54-g00ecf