##
-## This file is part of the sigrok project.
+## This file is part of the sigrok-cli project.
##
## Copyright (C) 2010 Bert Vermeulen <bert@biot.com>
##
## along with this program. If not, see <http://www.gnu.org/licenses/>.
##
-SUBDIRS = doc
+ACLOCAL_AMFLAGS = -I autostuff
+
+SUBDIRS = contrib doc
bin_PROGRAMS = sigrok-cli
sigrok_cli_SOURCES = sigrok-cli.c sigrok-cli.h parsers.c anykey.c
+MAINTAINERCLEANFILES = ChangeLog
+
+.PHONY: ChangeLog
+ChangeLog:
+ git --git-dir $(top_srcdir)/.git log > ChangeLog || touch ChangeLog
+
+dist-hook: ChangeLog
+