forked from kmods-via-containers/kmods-via-containers
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
19 lines (18 loc) · 679 Bytes
/
Copy pathMakefile
File metadata and controls
19 lines (18 loc) · 679 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
ifndef DESTDIR
DESTDIR=/usr
endif
ifndef CONFDIR
CONFDIR=/etc
endif
install:
# In the future we should place the systemd unit under
# $(DESTDIR)/lib/systemd/system. Right now we put it in
# $(CONFDIR) because of https://github.com/coreos/rpm-ostree/issues/1936
# which causes /usr/local/lib/systemd/system not to work
install -v -m 755 -d $(DESTDIR)/bin
install -v -m 755 kmods-via-containers $(DESTDIR)/bin/
install -v -m 755 -d $(CONFDIR)/kvc
install -v -m 644 kmods-via-containers.conf $(CONFDIR)/kvc/
install -v -m 755 -d $(CONFDIR)/systemd/system
install -v -m 644 kmods-via-containers@.service $(CONFDIR)/systemd/system/
install -v -m 755 -d $(DESTDIR)/lib/kvc