Skip to content

Commit

Permalink
Merge pull request #9605 from lsm5/Makefile-install-docker-docs-nobuild
Browse files Browse the repository at this point in the history
Makefile: add install.docker-docs-nobuild for packaging use
  • Loading branch information
openshift-merge-robot authored Mar 4, 2021
2 parents 87e2056 + 61e626c commit 8336700
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 8336700

Please sign in to comment.