summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorMing Liu <liu.ming50@gmail.com>2021-03-01 15:02:27 +0100
committerMing Liu <ming.liu@toradex.com>2021-03-02 13:20:41 +0100
commit3908c00799fe2af1a12c9c4f4be8b49dbdecd9be (patch)
tree0fa6504be6b88c2ef869b89e9afd0782635e2230 /Makefile
parent7497dcba6cd240908a9b0948eb561ad9c264fc8f (diff)
downloadpodman-3908c00799fe2af1a12c9c4f4be8b49dbdecd9be.tar.gz
podman-3908c00799fe2af1a12c9c4f4be8b49dbdecd9be.tar.bz2
podman-3908c00799fe2af1a12c9c4f4be8b49dbdecd9be.zip
Makefile: split install.docker-docs from install.docker
This allows end users to be able to choose to not install any docs. Signed-off-by: Ming Liu <liu.ming50@gmail.com>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile9
1 files changed, 6 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index 4c2a4047b..4cc68bc2f 100644
--- a/Makefile
+++ b/Makefile
@@ -543,13 +543,16 @@ install.cni:
install ${SELINUXOPT} -m 644 cni/87-podman-bridge.conflist ${DESTDIR}${ETCDIR}/cni/net.d/87-podman-bridge.conflist
.PHONY: install.docker
-install.docker: docker-docs
- install ${SELINUXOPT} -d -m 755 $(DESTDIR)$(BINDIR) $(DESTDIR)$(MANDIR)/man1
+install.docker:
install ${SELINUXOPT} -m 755 docker $(DESTDIR)$(BINDIR)/docker
- install ${SELINUXOPT} -m 644 docs/build/man/docker*.1 -t $(DESTDIR)$(MANDIR)/man1
install ${SELINUXOPT} -m 755 -d ${DESTDIR}${SYSTEMDDIR} ${DESTDIR}${USERSYSTEMDDIR} ${DESTDIR}${TMPFILESDIR}
install ${SELINUXOPT} -m 644 contrib/systemd/system/podman-docker.conf -t ${DESTDIR}${TMPFILESDIR}
+.PHONY: install.docker-docs
+install.docker-docs: docker-docs
+ install ${SELINUXOPT} -d -m 755 $(DESTDIR)$(BINDIR) $(DESTDIR)$(MANDIR)/man1
+ install ${SELINUXOPT} -m 644 docs/build/man/docker*.1 -t $(DESTDIR)$(MANDIR)/man1
+
.PHONY: install.systemd
install.systemd:
install ${SELINUXOPT} -m 755 -d ${DESTDIR}${SYSTEMDDIR} ${DESTDIR}${USERSYSTEMDDIR}