summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorNathan Williams <nath.e.will@gmail.com>2018-04-18 20:19:53 -0700
committerNathan Williams <nath.e.will@gmail.com>2018-04-21 22:37:21 -0700
commit79f08c4699e42ee50fd74c304b0d38ef8380dfed (patch)
tree87425ad1379e26a47d994569413bc61848cc1d6c /Makefile
parentcc7d1de1c11e1846552c0f81811a1fbab3711151 (diff)
downloadpodman-79f08c4699e42ee50fd74c304b0d38ef8380dfed.tar.gz
podman-79f08c4699e42ee50fd74c304b0d38ef8380dfed.tar.bz2
podman-79f08c4699e42ee50fd74c304b0d38ef8380dfed.zip
add libpod.conf man page
Signed-off-by: Nathan Williams <nath.e.will@gmail.com>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile11
1 files changed, 11 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 51faff855..660a31820 100644
--- a/Makefile
+++ b/Makefile
@@ -93,6 +93,7 @@ ifneq ($(GOPATH),)
endif
rm -rf _output
rm -f docs/*.1
+ rm -f docs/*.5
rm -fr test/testdata/redis-image
find . -name \*~ -delete
find . -name \#\* -delete
@@ -148,6 +149,9 @@ MANPAGES := $(MANPAGES_MD:%.md=%)
docs/%.1: docs/%.1.md .gopathok
(go-md2man -in $< -out $@.tmp && touch $@.tmp && mv $@.tmp $@) || ($(GOPATH)/bin/go-md2man -in $< -out $@.tmp && touch $@.tmp && mv $@.tmp $@)
+docs/%.5: docs/%.5.md .gopathok
+ (go-md2man -in $< -out $@.tmp && touch $@.tmp && mv $@.tmp $@) || ($(GOPATH)/bin/go-md2man -in $< -out $@.tmp && touch $@.tmp && mv $@.tmp $@)
+
docs: $(MANPAGES)
docker-docs: docs
@@ -170,7 +174,9 @@ install.bin:
install.man: docs
install ${SELINUXOPT} -d -m 755 $(MANDIR)/man1
+ install ${SELINUXOPT} -d -m 755 $(MANDIR)/man5
install ${SELINUXOPT} -m 644 $(filter %.1,$(MANPAGES)) -t $(MANDIR)/man1
+ install ${SELINUXOPT} -m 644 $(filter %.5,$(MANPAGES)) -t $(MANDIR)/man5
install.config:
install ${SELINUXOPT} -D -m 644 libpod.conf ${SHAREDIR_CONTAINERS}/libpod.conf
@@ -187,11 +193,16 @@ install.cni:
install.docker: docker-docs
install ${SELINUXOPT} -D -m 755 docker $(BINDIR)/docker
install ${SELINUXOPT} -d -m 755 $(MANDIR)/man1
+ install ${SELINUXOPT} -d -m 755 $(MANDIR)/man5
install ${SELINUXOPT} -m 644 docs/docker*.1 -t $(MANDIR)/man1
+ install ${SELINUXOPT} -m 644 docs/docker*.5 -t $(MANDIR)/man5
uninstall:
for i in $(filter %.1,$(MANPAGES)); do \
rm -f $(MANDIR)/man1/$$(basename $${i}); \
+ done; \
+ for i in $(filter %.5,$(MANPAGES)); do \
+ rm -f $(MANDIR)/man5/$$(basename $${i}); \
done
.PHONY: .gitvalidation