]> sigrok.org Git - sigrok-cli.git/blob - Makefile.am
Append "-git" to the version string.
[sigrok-cli.git] / Makefile.am
1 ##
2 ## This file is part of the sigrok-cli project.
3 ##
4 ## Copyright (C) 2013 Bert Vermeulen <bert@biot.com>
5 ##
6 ## This program is free software: you can redistribute it and/or modify
7 ## it under the terms of the GNU General Public License as published by
8 ## the Free Software Foundation, either version 3 of the License, or
9 ## (at your option) any later version.
10 ##
11 ## This program is distributed in the hope that it will be useful,
12 ## but WITHOUT ANY WARRANTY; without even the implied warranty of
13 ## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
14 ## GNU General Public License for more details.
15 ##
16 ## You should have received a copy of the GNU General Public License
17 ## along with this program.  If not, see <http://www.gnu.org/licenses/>.
18 ##
19
20 ACLOCAL_AMFLAGS = -I autostuff
21
22 bin_PROGRAMS = sigrok-cli
23
24 sigrok_cli_SOURCES = \
25         main.c \
26         show.c \
27         device.c \
28         session.c \
29         input.c \
30         decode.c \
31         sigrok-cli.h \
32         parsers.c \
33         anykey.c \
34         options.c
35
36 dist_man_MANS = doc/sigrok-cli.1
37
38 EXTRA_DIST = contrib/sigrok-cli_cross.nsi contrib/sigrok-logo-notext.ico
39
40 MAINTAINERCLEANFILES = ChangeLog
41
42 .PHONY: ChangeLog
43 ChangeLog:
44         git --git-dir $(top_srcdir)/.git log > ChangeLog || touch ChangeLog
45
46 dist-hook: ChangeLog
47