]> sigrok.org Git - libsigrokdecode.git/commitdiff
srd: Generate ChangeLog from git upon 'make dist'.
authorUwe Hermann <redacted>
Sat, 31 Mar 2012 09:38:38 +0000 (11:38 +0200)
committerUwe Hermann <redacted>
Sat, 31 Mar 2012 09:38:38 +0000 (11:38 +0200)
Makefile.am

index 58ed2520f040c9aad6664ff8da97b56113a55850..ccaa2dbe04be9e8f2b805d4bfa83a0444af6da5f 100644 (file)
@@ -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
+