From b156de5c04a3e6906ecbbaf0b8b47cf61a152e82 Mon Sep 17 00:00:00 2001 From: Uwe Hermann Date: Wed, 18 Apr 2012 00:02:54 +0200 Subject: [PATCH] cli: Generate ChangeLog upon 'make dist'. --- Makefile.am | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/Makefile.am b/Makefile.am index b8ebaac..2aeb66c 100644 --- a/Makefile.am +++ b/Makefile.am @@ -25,3 +25,11 @@ bin_PROGRAMS = sigrok-cli sigrok_cli_SOURCES = sigrok-cli.c sigrok-cli.h parsers.c anykey.c +DISTCLEANFILES = ChangeLog + +.PHONY: ChangeLog +ChangeLog: + git --git-dir $(top_srcdir)/../.git log > ChangeLog || touch ChangeLog + +dist-hook: ChangeLog + -- 2.30.2