From: Uwe Hermann Date: Wed, 23 May 2012 16:36:30 +0000 (+0200) Subject: Makefile: Generate/add ChangeLog for dist target. X-Git-Url: https://sigrok.org/gitaction?a=commitdiff_plain;h=155e7a8d4f99110111bf7656356266ea4f61e79a;p=sigrok-firmware.git Makefile: Generate/add ChangeLog for dist target. --- diff --git a/Makefile b/Makefile index e36ce4f..26025c7 100644 --- a/Makefile +++ b/Makefile @@ -23,8 +23,12 @@ VERSION = "0.1.0" all: @echo "Run 'make dist' to create a tarball." -dist: +ChangeLog: + git log > ChangeLog || touch ChangeLog + +dist: ChangeLog @tar -c -v -z --exclude=.git --exclude=Makefile \ --exclude=sigrok-firmware-$(VERSION).tar.gz \ -f sigrok-firmware-$(VERSION).tar.gz * + @rm -f ChangeLog