From: Uwe Hermann Date: Wed, 28 Mar 2012 00:32:52 +0000 (+0200) Subject: sr: Generate ChangeLog from git upon 'make dist'. X-Git-Tag: libsigrok-0.1.0~17 X-Git-Url: https://sigrok.org/gitaction?a=commitdiff_plain;h=0fc12d66f1cf0fa46d075f9a9f8b691a325f39b9;p=libsigrok.git sr: Generate ChangeLog from git upon 'make dist'. --- diff --git a/Makefile.am b/Makefile.am index 46b319d9..8d0708d4 100644 --- a/Makefile.am +++ b/Makefile.am @@ -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 +