forked from flux-framework/flux-core
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile.am
63 lines (53 loc) · 1.53 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
.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
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/*"
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