mirror of
https://github.com/containers/podman.git
synced 2025-07-15 03:02:52 +08:00
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>
This commit is contained in:
7
Makefile
7
Makefile
@ -548,11 +548,14 @@ install.docker:
|
|||||||
install ${SELINUXOPT} -m 755 -d ${DESTDIR}${SYSTEMDDIR} ${DESTDIR}${USERSYSTEMDDIR} ${DESTDIR}${TMPFILESDIR}
|
install ${SELINUXOPT} -m 755 -d ${DESTDIR}${SYSTEMDDIR} ${DESTDIR}${USERSYSTEMDDIR} ${DESTDIR}${TMPFILESDIR}
|
||||||
install ${SELINUXOPT} -m 644 contrib/systemd/system/podman-docker.conf -t ${DESTDIR}${TMPFILESDIR}
|
install ${SELINUXOPT} -m 644 contrib/systemd/system/podman-docker.conf -t ${DESTDIR}${TMPFILESDIR}
|
||||||
|
|
||||||
.PHONY: install.docker-docs
|
.PHONY: install.docker-docs-nobuild
|
||||||
install.docker-docs: docker-docs
|
install.docker-docs-nobuild:
|
||||||
install ${SELINUXOPT} -d -m 755 $(DESTDIR)$(BINDIR) $(DESTDIR)$(MANDIR)/man1
|
install ${SELINUXOPT} -d -m 755 $(DESTDIR)$(BINDIR) $(DESTDIR)$(MANDIR)/man1
|
||||||
install ${SELINUXOPT} -m 644 docs/build/man/docker*.1 -t $(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
|
.PHONY: install.systemd
|
||||||
ifneq (,$(findstring systemd,$(BUILDTAGS)))
|
ifneq (,$(findstring systemd,$(BUILDTAGS)))
|
||||||
install.systemd:
|
install.systemd:
|
||||||
|
Reference in New Issue
Block a user