aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorDaniel J Walsh <dwalsh@redhat.com>2018-01-11 10:54:39 -0500
committerDaniel J Walsh <dwalsh@redhat.com>2018-01-18 07:01:48 -0500
commit0207e629ee0c5640170e58d71efd0ce60e65a5a2 (patch)
treeaa427580ee8055ca40123b7bd235d1c9bbd735ae /Makefile
parent8745eaaf30bfc73ddf6c48932e4f620a7c4f21d0 (diff)
downloadpodman-0207e629ee0c5640170e58d71efd0ce60e65a5a2.tar.gz
podman-0207e629ee0c5640170e58d71efd0ce60e65a5a2.tar.bz2
podman-0207e629ee0c5640170e58d71efd0ce60e65a5a2.zip
Add support for mimicing docker CLI
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile10
1 files changed, 9 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index cc839479f..807499f18 100644
--- a/Makefile
+++ b/Makefile
@@ -135,13 +135,16 @@ docs/%.1: docs/%.1.md .gopathok
docs: $(MANPAGES)
+docker-docs: docs
+ (cd docs; ./dckrman.sh *.1)
+
install: .gopathok install.bin install.man install.cni
install.bin:
install ${SELINUXOPT} -D -m 755 bin/podman $(BINDIR)/podman
install ${SELINUXOPT} -D -m 755 bin/conmon $(LIBEXECDIR)/crio/conmon
-install.man:
+install.man: docs
install ${SELINUXOPT} -d -m 755 $(MANDIR)/man1
install ${SELINUXOPT} -m 644 $(filter %.1,$(MANPAGES)) -t $(MANDIR)/man1
@@ -156,6 +159,11 @@ install.completions:
install.cni:
install ${SELINUXOPT} -D -m 644 cni/97-podman-bridge.conf ${ETCDIR}/cni/net.d/97-podman-bridge.conf
+install.docker: docker-docs
+ install ${SELINUXOPT} -D -m 755 docker $(BINDIR)/docker
+ install ${SELINUXOPT} -d -m 755 $(MANDIR)/man1
+ install ${SELINUXOPT} -m 644 docs/docker*.1 -t $(MANDIR)/man1
+
uninstall:
rm -f $(LIBEXECDIR)/crio/conmon
for i in $(filter %.1,$(MANPAGES)); do \