summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorKay Sievers <kay.sievers@suse.de>2005-12-04 02:31:38 +0100
committerKay Sievers <kay.sievers@suse.de>2005-12-04 02:31:38 +0100
commited0e3cbd6dfe49c2cceb26eb65466dd5905b1c5b (patch)
tree23a22636b7dcc11cb910c01cd3647d86c254fcda /Makefile
parenta2f87fddbfcb81f6f8f254b1a986a18f444212cf (diff)
add target to to generate ChangeLog section
I can't remember that magic sequence... Signed-off-by: Kay Sievers <kay.sievers@suse.de>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile12
1 files changed, 11 insertions, 1 deletions
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