]> sigrok.org Git - libsigrok.git/commitdiff
sr: Generate ChangeLog from git upon 'make dist'.
authorUwe Hermann <redacted>
Wed, 28 Mar 2012 00:32:52 +0000 (02:32 +0200)
committerUwe Hermann <redacted>
Wed, 28 Mar 2012 00:32:52 +0000 (02:32 +0200)
Makefile.am

index 46b319d91fc32f74cd9c13fbc9e7bcf3eff6f7c5..8d0708d46aa0021937865c0be94421f53d99ca4e 100644 (file)
@@ -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
+