-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathMakefile
More file actions
40 lines (30 loc) · 786 Bytes
/
Makefile
File metadata and controls
40 lines (30 loc) · 786 Bytes
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
DESTDIR ?= /
prefix ?= $(DESTDIR)
moduledir ?= /usr/share/mender/modules/v3
# No-op for this project
build:
# "check" is common in many projects so let's have it as an alias
check: test
test:
@tests/test_docker-compose.sh
coverage:
@bashcov tests/test_docker-compose.sh
clean:
rm -rf coverage
install: install-docker-compose
install-docker-compose:
install -d -m 755 $(prefix)$(moduledir)
install -m 755 src/docker-compose $(prefix)$(moduledir)/
uninstall: uninstall-docker-compose
uninstall-docker-compose:
rm -f src/docker-compose $(prefix)$(moduledir)/docker-compose
-rmdir $(prefix)$(moduledir)
.PHONY: build
.PHONY: check
.PHONY: test
.PHONY: coverage
.PHONY: clean
.PHONY: install
.PHONY: install-docker-compose
.PHONY: uninstall
.PHONY: uninstall-docker-compose