aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorDaniel J Walsh <dwalsh@redhat.com>2018-05-29 13:18:34 -0400
committerAtomic Bot <atomic-devel@projectatomic.io>2018-05-30 13:49:45 +0000
commit71487466fb43c2d7960e879c291aae4890506e15 (patch)
tree4b2e787b8d916b9c72f58be98345f26927f03a5d /Makefile
parent8ee0f2bf912c3dc2d299b6efedece6dfb4816195 (diff)
downloadpodman-71487466fb43c2d7960e879c291aae4890506e15.tar.gz
podman-71487466fb43c2d7960e879c291aae4890506e15.tar.bz2
podman-71487466fb43c2d7960e879c291aae4890506e15.zip
Cleanup man pages
Format md files to work properly when converted to man pages. Add sed command to cleanup table in podman man page. Signed-off-by: Daniel J Walsh <dwalsh@redhat.com> Closes: #842 Approved by: mheon
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 1354deb49..065d7ef6f 100644
--- a/Makefile
+++ b/Makefile
@@ -165,7 +165,7 @@ MANPAGES_MD ?= $(wildcard docs/*.md pkg/*/docs/*.md)
MANPAGES ?= $(MANPAGES_MD:%.md=%)
$(MANPAGES): %: %.md .gopathok
- $(GOMD2MAN) -in $< -out $@
+ @sed -e 's/\((podman.*\.md)\)//' -e 's/\[\(podman.*\)\]/\1/' $< | $(GOMD2MAN) -in /dev/stdin -out $@
docs: $(MANPAGES)