Makefile: break out the install
target
Where `make install` still has the same behaviour, but you could instead only `make install.bin` if you don't need the man pages. Signed-off-by: Vincent Batts <vbatts@hashbangbash.com>
This commit is contained in:
parent
45747cc5d0
commit
a22d04de4b
1 changed files with 5 additions and 1 deletions
6
Makefile
6
Makefile
|
@ -138,12 +138,16 @@ docs/%.8: docs/%.8.md .gopathok
|
||||||
|
|
||||||
docs: $(MANPAGES)
|
docs: $(MANPAGES)
|
||||||
|
|
||||||
install: .gopathok
|
install: .gopathok install.bin install.man
|
||||||
|
|
||||||
|
install.bin:
|
||||||
install ${SELINUXOPT} -D -m 755 crio $(BINDIR)/crio
|
install ${SELINUXOPT} -D -m 755 crio $(BINDIR)/crio
|
||||||
install ${SELINUXOPT} -D -m 755 crioctl $(BINDIR)/crioctl
|
install ${SELINUXOPT} -D -m 755 crioctl $(BINDIR)/crioctl
|
||||||
install ${SELINUXOPT} -D -m 755 kpod $(BINDIR)/kpod
|
install ${SELINUXOPT} -D -m 755 kpod $(BINDIR)/kpod
|
||||||
install ${SELINUXOPT} -D -m 755 conmon/conmon $(LIBEXECDIR)/crio/conmon
|
install ${SELINUXOPT} -D -m 755 conmon/conmon $(LIBEXECDIR)/crio/conmon
|
||||||
install ${SELINUXOPT} -D -m 755 pause/pause $(LIBEXECDIR)/crio/pause
|
install ${SELINUXOPT} -D -m 755 pause/pause $(LIBEXECDIR)/crio/pause
|
||||||
|
|
||||||
|
install.man:
|
||||||
install ${SELINUXOPT} -d -m 755 $(MANDIR)/man1
|
install ${SELINUXOPT} -d -m 755 $(MANDIR)/man1
|
||||||
install ${SELINUXOPT} -d -m 755 $(MANDIR)/man5
|
install ${SELINUXOPT} -d -m 755 $(MANDIR)/man5
|
||||||
install ${SELINUXOPT} -d -m 755 $(MANDIR)/man8
|
install ${SELINUXOPT} -d -m 755 $(MANDIR)/man8
|
||||||
|
|
Loading…
Reference in a new issue