diff options
author | Kay Sievers <kay.sievers@suse.de> | 2005-12-04 02:31:38 +0100 |
---|---|---|
committer | Kay Sievers <kay.sievers@suse.de> | 2005-12-04 02:31:38 +0100 |
commit | ed0e3cbd6dfe49c2cceb26eb65466dd5905b1c5b (patch) | |
tree | 23a22636b7dcc11cb910c01cd3647d86c254fcda /Makefile | |
parent | a2f87fddbfcb81f6f8f254b1a986a18f444212cf (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-- | Makefile | 12 |
1 files changed, 11 insertions, 1 deletions
@@ -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 |