summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorDaniel J Walsh <dwalsh@redhat.com>2018-04-23 20:49:30 -0400
committerGitHub <noreply@github.com>2018-04-23 20:49:30 -0400
commitc78ce0e8fd2899edb1726c319baff89b3ebfe757 (patch)
tree8e48868be91ebf8dc9061587574a28e01f053f51 /Makefile
parent10f9dc0d8860e358796d1325ef1a7e31f02a0166 (diff)
parent79f08c4699e42ee50fd74c304b0d38ef8380dfed (diff)
downloadpodman-c78ce0e8fd2899edb1726c319baff89b3ebfe757.tar.gz
podman-c78ce0e8fd2899edb1726c319baff89b3ebfe757.tar.bz2
podman-c78ce0e8fd2899edb1726c319baff89b3ebfe757.zip
Merge pull request #641 from nathwill/man-libpod
add libpod.conf man page (closes #537)
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile11
1 files changed, 11 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index bee8d7c00..c512a2d52 100644
--- a/Makefile
+++ b/Makefile
@@ -95,6 +95,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
@@ -152,6 +153,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
@@ -174,7 +178,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
@@ -191,7 +197,9 @@ 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
install.systemd:
install ${SELINUXOPT} -m 644 contrib/varlink/io.projectatomic.podman.socket ${SYSTEMDDIR}/io.projectatomic.podman.socket
@@ -200,6 +208,9 @@ install.systemd:
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