forked from flux-framework/flux-core
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile.am
70 lines (60 loc) · 1.86 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
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
.NOTPARALLEL:
SUBDIRS = . src doc etc t
EXTRA_DIST = \
config/tap-driver.sh \
config/tap-driver.py \
NOTICE.LLNS \
LICENSE \
README.md \
vscode.md \
NEWS.md \
scripts/requirements-dev.txt \
scripts/install-deps-deb.sh \
scripts/install-deps-rpm.sh \
scripts/install-deps-macos.sh \
scripts/configure-macos.sh \
scripts/check-macos.sh
ACLOCAL_AMFLAGS = -I config
# coverage
CODE_COVERAGE_IGNORE_PATTERN = \
"$(abs_top_builddir)/t/*" \
"*/test/*.c" \
"*/tests/*.c" \
"*/man3/*.c" \
"*/libtap/*" \
"*/libev/*" \
"/usr/include/*" \
"/usr/lib*" \
"*/bindings/python/*" \
"*/common/liblsd/*" \
"*/common/liboptparse/getopt*" \
"*/common/libtestutil/*" \
"*/common/libyuarel/*" \
"*/common/libczmqcontainers/*" \
"*/common/libccan/*" \
"*/common/libmissing/*"
# ignore lcov errors to avoid merge mismatch issue since lcov < 2 doesn't offer
# an option to just ignore this error, we use this env var to ignore all, see:
# https://github.com/flux-framework/flux-core/issues/6078
export GCOV_ERROR_FILE=/dev/null
CODE_COVERAGE_LCOV_OPTIONS =
@CODE_COVERAGE_RULES@
# Many of flux-core's tests live down in subdirectories with
# the core that that it is testing. However, some of those tests
# also have dependencies on other subdirectories higher up the
# source tree. With the recursive Makefiles approach, there is
# no easy way to express that build dependency in a way that will
# actually trigger the build of the that dependency. The following
# check-local rule, in conjunction with putting "." _first_ in this
# file's SUBDIRS, ensures that "all" is built before any of the
# recursive checks.
check-local: all
check-prep: all
cd src && $(MAKE) check
cd doc && $(MAKE) check
cd t && $(MAKE) check-prep
export DEB_BUILD_OPTIONS ?= nocheck terse
deb: debian scripts/debbuild.sh
+@$(top_srcdir)/scripts/debbuild.sh $(abs_top_srcdir)
clean-local:
@rm -rf debbuild