1## Copyright (C) 2008-2020 Dirk-Jan C. Binnema <djcb@djcbsoftware.nl>
2##
3## This program is free software; you can redistribute it and/or modify
4## it under the terms of the GNU General Public License as published by
5## the Free Software Foundation; either version 3 of the License, or
6## (at your option) any later version.
7##
8## This program is distributed in the hope that it will be useful,
9## but WITHOUT ANY WARRANTY; without even the implied warranty of
10## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
11## GNU General Public License for more details.
12##
13## You should have received a copy of the GNU General Public License
14## along with this program; if not, write to the Free Software Foundation,
15## Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
16
17include $(top_srcdir)/gtest.mk
18
19if BUILD_GUILE
20guile=guile
21else
22guile=
23endif
24
25if BUILD_MU4E
26mu4e=mu4e
27else
28mu4e=
29endif
30
31SUBDIRS=m4 man lib $(guile) mu $(mu4e) contrib toys
32
33ACLOCAL_AMFLAGS=-I m4
34
35# so we can say 'make test'
36check: test cleanupnote
37
38cleanupnote:
39	@echo -e  "\nNote: you can remove the mu-test-<uid> dir in your tempdir"
40	@echo "after 'make check' has finished."
41
42tags:
43	gtags
44
45EXTRA_DIST=							\
46	TODO							\
47	HACKING							\
48	README.org						\
49	gtest.mk						\
50	NEWS							\
51	NEWS.org						\
52	autogen.sh
53
54doc_DATA =							\
55	NEWS.org
56
57include $(top_srcdir)/aminclude_static.am
58
59CODE_COVERAGE_IGNORE_PATTERN=					\
60	'/usr/*'						\
61	'*test-*'
62