From a22d04de4bc3fb43a2c30309ae722f9ef99f82a9 Mon Sep 17 00:00:00 2001 From: Vincent Batts Date: Fri, 8 Sep 2017 07:52:57 -0400 Subject: [PATCH] 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 --- Makefile | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index e3e5050b..b6c15a81 100644 --- a/Makefile +++ b/Makefile @@ -138,12 +138,16 @@ docs/%.8: docs/%.8.md .gopathok 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 crioctl $(BINDIR)/crioctl install ${SELINUXOPT} -D -m 755 kpod $(BINDIR)/kpod install ${SELINUXOPT} -D -m 755 conmon/conmon $(LIBEXECDIR)/crio/conmon 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)/man5 install ${SELINUXOPT} -d -m 755 $(MANDIR)/man8