From ab13922ca9fa2fc03e2a355166af5732f8e8a009 Mon Sep 17 00:00:00 2001 From: Uwe Hermann Date: Sat, 31 Mar 2012 11:38:38 +0200 Subject: [PATCH] srd: Generate ChangeLog from git upon 'make dist'. --- Makefile.am | 8 ++++++++ 1 file changed, 8 insertions(+) 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 + -- 2.30.2