sr: Generate ChangeLog from git upon 'make dist'.

This commit is contained in:
Uwe Hermann 2012-03-28 02:32:52 +02:00
parent 7ae2f9d56f
commit 0fc12d66f1
1 changed files with 8 additions and 0 deletions

View File

@ -53,3 +53,11 @@ pkgconfig_DATA = libsigrok.pc
EXTRA_DIST = Doxyfile
MAINTAINERCLEANFILES = ChangeLog
.PHONY: ChangeLog
ChangeLog:
git --git-dir $(top_srcdir)/../.git log > ChangeLog || touch ChangeLog
dist-hook: ChangeLog