summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorLokesh Mandvekar <lsm5@fedoraproject.org>2021-03-03 15:53:44 -0500
committerLokesh Mandvekar <lsm5@fedoraproject.org>2021-03-03 16:21:27 -0500
commit61e626c859a60b19419a858b15e76cd4881e24c3 (patch)
tree7926acb9047745b8a4ff56769ef480c9a6d6e253 /Makefile
parent87e20560ac885c541784af1341098ce8e1e7a940 (diff)
downloadpodman-61e626c859a60b19419a858b15e76cd4881e24c3.tar.gz
podman-61e626c859a60b19419a858b15e76cd4881e24c3.tar.bz2
podman-61e626c859a60b19419a858b15e76cd4881e24c3.zip
Makefile: add install.docker-docs-nobuild for packaging use
This will allow installation of the manpages without the need to rebuild them in the installation stage of distro packaging. [NO TESTS NEEDED] Signed-off-by: Lokesh Mandvekar <lsm5@fedoraproject.org>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile7
1 files changed, 5 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 268cfe7f9..14e428397 100644
--- a/Makefile
+++ b/Makefile
@@ -548,11 +548,14 @@ install.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
-install.docker-docs: docker-docs
+.PHONY: install.docker-docs-nobuild
+install.docker-docs-nobuild:
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.docker-docs
+install.docker-docs: docker-docs install.docker-docs-nobuild
+
.PHONY: install.systemd
ifneq (,$(findstring systemd,$(BUILDTAGS)))
install.systemd: