forked from kolyshkin/ploop-flexvol
-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy pathMakefile
More file actions
21 lines (15 loc) · 740 Bytes
/
Makefile
File metadata and controls
21 lines (15 loc) · 740 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
SOURCES := $(shell find . 2>&1 | grep -E '.*\.(c|h|go)$$')
.DEFAULT: ploop
ploop: $(SOURCES)
go build -o ploop .
install: ploop
mkdir -p $(DESTDIR)/usr/libexec/kubernetes/kubelet-plugins/volume/exec/virtuozzo~ploop/
cp ploop $(DESTDIR)/usr/libexec/kubernetes/kubelet-plugins/volume/exec/virtuozzo~ploop/
wrapper-journald: ploop
cp ploop-journld.sh /usr/libexec/kubernetes/kubelet-plugins/volume/exec/virtuozzo~ploop/ploop
cp ploop /usr/libexec/kubernetes/kubelet-plugins/volume/exec/virtuozzo~ploop/ploop.bin
wrapper-file: ploop
cp ploop-file.sh /usr/libexec/kubernetes/kubelet-plugins/volume/exec/virtuozzo~ploop/ploop
cp ploop /usr/libexec/kubernetes/kubelet-plugins/volume/exec/virtuozzo~ploop/ploop.bin
clean:
rm -f ploop