From: Uwe Hermann Date: Sat, 31 Mar 2012 09:38:38 +0000 (+0200) Subject: srd: Generate ChangeLog from git upon 'make dist'. X-Git-Tag: libsigrokdecode-0.1.0~13 X-Git-Url: https://sigrok.org/gitaction?a=commitdiff_plain;h=ab13922ca9fa2fc03e2a355166af5732f8e8a009;p=libsigrokdecode.git srd: Generate ChangeLog from git upon 'make dist'. --- diff --git a/Makefile.am b/Makefile.am index 58ed252..ccaa2db 100644 --- a/Makefile.am +++ b/Makefile.am @@ -39,3 +39,11 @@ pkgconfig_DATA = libsigrokdecode.pc EXTRA_DIST = Doxyfile +MAINTAINERCLEANFILES = ChangeLog + +.PHONY: ChangeLog +ChangeLog: + git --git-dir $(top_srcdir)/../.git log > ChangeLog || touch ChangeLog + +dist-hook: ChangeLog +