]> sigrok.org Git - sigrok-gtk.git/commitdiff
gtk: Generate ChangeLog upon 'make dist'.
authorUwe Hermann <redacted>
Sat, 7 Apr 2012 16:18:38 +0000 (18:18 +0200)
committerUwe Hermann <redacted>
Tue, 10 Apr 2012 21:25:59 +0000 (23:25 +0200)
.gitignore
Makefile.am

index 1db97a4d53e5455e95a3aae37c4b5c6b346af0fc..f960f19d42f18d9bc49771fc1d07865f3a832322 100644 (file)
@@ -2,3 +2,4 @@ sigrok-gtk
 sigrok-gtk.exe
 contrib/sigrok-gtk.nsi
 contrib/sigrok-gtk-installer*.exe
+ChangeLog
index e81af87399f04366b89a55f8d2c326e5fb868047..902693489240ba137a1ad4fa156a435ca9836f9a 100644 (file)
@@ -45,3 +45,11 @@ endif
 .rc.o:
        $(WINDRES) -o $@ $^
 
+DISTCLEANFILES = ChangeLog
+
+.PHONY: ChangeLog
+ChangeLog:
+       git --git-dir $(top_srcdir)/../.git log > ChangeLog || touch ChangeLog
+
+dist-hook: ChangeLog
+