summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUwe Hermann <uwe@hermann-uwe.de>2012-03-31 11:38:38 +0200
committerUwe Hermann <uwe@hermann-uwe.de>2012-03-31 11:38:38 +0200
commitab13922ca9fa2fc03e2a355166af5732f8e8a009 (patch)
treee589ce5b523ab3c62a75a21f611f4450b5ddeea5
parentdc17bafa2f645366d4c1f2bb1be4e787def80026 (diff)
downloadlibsigrokdecode-ab13922ca9fa2fc03e2a355166af5732f8e8a009.tar.gz
libsigrokdecode-ab13922ca9fa2fc03e2a355166af5732f8e8a009.zip
srd: Generate ChangeLog from git upon 'make dist'.
-rw-r--r--Makefile.am8
1 files changed, 8 insertions, 0 deletions
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
+