From: Uwe Hermann Date: Thu, 10 May 2012 16:57:09 +0000 (+0200) Subject: Makefile: Generate/add ChangeLog for dist target. X-Git-Tag: sigrok-dumps-0.1.0~5 X-Git-Url: https://sigrok.org/gitaction?a=commitdiff_plain;h=797bc2e412e53e8fcd91fb34221357292671509a;p=libsigrokdecode.git Makefile: Generate/add ChangeLog for dist target. --- diff --git a/Makefile b/Makefile index b8ae63e..7dea2f8 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-dumps-$(VERSION).tar.gz \ -f sigrok-dumps-$(VERSION).tar.gz * + @rm -f ChangeLog