summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorMorten Linderud <morten@linderud.pw>2021-03-31 00:33:46 +0200
committerMorten Linderud <morten@linderud.pw>2021-03-31 16:38:06 +0200
commitab3b6df130f5ce21b126a666f5df3bd85aaf4c46 (patch)
tree1464d8f2fc8370f59c6fe25ab0b530f659dac36d /Makefile
parent2d824d85e1a9810305b345827113430d1ac8e45b (diff)
downloadpodman-ab3b6df130f5ce21b126a666f5df3bd85aaf4c46.tar.gz
podman-ab3b6df130f5ce21b126a666f5df3bd85aaf4c46.tar.bz2
podman-ab3b6df130f5ce21b126a666f5df3bd85aaf4c46.zip
Makefile: ensure install.docker creates BINDIR
Commit 3908c00799fe2af1a12c9c4f4be8b49dbdecd9be introduces a split for installing the docker binary and the docker documentation. The install line creating BINDIR and MANDIR was both moved to the install.docker-docs path which makes `install.docker` fail. Signed-off-by: Morten Linderud <morten@linderud.pw>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 49250f2fd..c7a91c27e 100644
--- a/Makefile
+++ b/Makefile
@@ -545,13 +545,14 @@ install.cni:
.PHONY: install.docker
install.docker:
+ install ${SELINUXOPT} -d -m 755 $(DESTDIR)$(BINDIR)
install ${SELINUXOPT} -m 755 docker $(DESTDIR)$(BINDIR)/docker
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-nobuild
install.docker-docs-nobuild:
- install ${SELINUXOPT} -d -m 755 $(DESTDIR)$(BINDIR) $(DESTDIR)$(MANDIR)/man1
+ install ${SELINUXOPT} -d -m 755 $(DESTDIR)$(MANDIR)/man1
install ${SELINUXOPT} -m 644 docs/build/man/docker*.1 -t $(DESTDIR)$(MANDIR)/man1
.PHONY: install.docker-docs