-
Notifications
You must be signed in to change notification settings - Fork 13
/
Makefile.am
55 lines (46 loc) · 1.79 KB
/
Makefile.am
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
# Copyright (C) 2014 Colin Walters <walters@verbum.org>
#
# This library is free software; you can redistribute it and/or
# modify it under the terms of the GNU Lesser General Public
# License as published by the Free Software Foundation; either
# version 2 of the License, or (at your option) any later version.
#
# This library is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
# Lesser General Public License for more details.
#
# You should have received a copy of the GNU Lesser General Public
# License along with this library; if not, write to the
# Free Software Foundation, Inc., 59 Temple Place - Suite 330,
# Boston, MA 02111-1307, USA.
include Makefile-decls.am
privdatadir=$(pkglibdir)
ACLOCAL_AMFLAGS += -I m4 ${ACLOCAL_FLAGS}
AM_CPPFLAGS += -DDATADIR='"$(datadir)"' \
-DLIBEXECDIR='"$(libexecdir)"' \
-DLOCALEDIR=\"$(datadir)/locale\"
AM_CFLAGS += $(WARN_CFLAGS)
EXTRA_DIST += meson.build
EXTRA_DIST += meson_options.txt
EXTRA_DIST += packaging/meson-compat-install-symlink.sh
GITIGNOREFILES += build-aux/ m4/ gtk-doc.make config.h.in aclocal.m4
GITIGNOREFILES += git-evtag-*.tar.*
include src/Makefile-git-evtag.am
include man/Makefile-man.am
include rust/Makefile-inc.am
include tests/Makefile-tests.am
-include $(top_srcdir)/git.mk
$(srcdir)/.gitignore: src/Makefile-git-evtag.am
$(srcdir)/.gitignore: man/Makefile-man.am
$(srcdir)/.gitignore: rust/Makefile-inc.am
$(srcdir)/.gitignore: tests/Makefile-tests.am
distcheck-hook: distcheck-hook-meson
distcheck-hook-meson:
set -e; if command -v meson > /dev/null; then \
cd $(distdir); \
meson setup _build/meson; \
meson compile -C _build/meson -v; \
meson test -C _build/meson -v; \
rm -fr _build/meson; \
fi