forked from stratis-storage/stratisd
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile_dependencies
57 lines (45 loc) · 1.4 KB
/
Makefile_dependencies
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
ifeq ($(origin MANIFEST_PATH), undefined)
else
MANIFEST_PATH_ARGS = --manifest-path=${MANIFEST_PATH}
endif
ifeq ($(origin FEDORA_RELEASE), undefined)
else
FEDORA_RELEASE_ARGS = --release=${FEDORA_RELEASE}
endif
IGNORE_ARGS ?=
SET_LOWER_BOUNDS ?=
test-set-lower-bounds:
echo "Testing that SET_LOWER_BOUNDS environment variable is set to a valid path"
test -e "${SET_LOWER_BOUNDS}"
verify-dependency-bounds: test-set-lower-bounds vdb-build vdb-min vdb-tests vdb-stratisd-tools
vdb-build:
cargo clean
make -f Makefile build
${SET_LOWER_BOUNDS} ${MANIFEST_PATH_ARGS}
make -f Makefile build
vdb-min:
cargo clean
make -f Makefile build-min
${SET_LOWER_BOUNDS} ${MANIFEST_PATH_ARGS}
make -f Makefile build-min
vdb-tests:
cargo clean
make -f Makefile build-tests
${SET_LOWER_BOUNDS} ${MANIFEST_PATH_ARGS}
make -f Makefile build-tests
vdb-stratisd-tools:
cargo clean
make -f Makefile stratisd-tools
${SET_LOWER_BOUNDS} ${MANIFEST_PATH_ARGS}
make -f Makefile stratisd-tools
COMPARE_FEDORA_VERSIONS ?=
test-compare-fedora-versions:
echo "Testing that COMPARE_FEDORA_VERSIONS environment variable is set to a valid path"
test -e "${COMPARE_FEDORA_VERSIONS}"
check-fedora-versions: test-compare-fedora-versions
${COMPARE_FEDORA_VERSIONS} ${MANIFEST_PATH_ARGS} ${FEDORA_RELEASE_ARGS} ${IGNORE_ARGS}
.PHONY:
check-fedora-versions
test-compare-fedora-versions
test-set-lower-bounds
verify-dependency-bounds