summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorRob Cowsill <42620235+rcowsill@users.noreply.github.com>2021-04-25 16:19:24 +0100
committerRob Cowsill <42620235+rcowsill@users.noreply.github.com>2021-04-25 16:19:24 +0100
commit9731ecfc7a687ee12c2421cf0979bdc08b5b882e (patch)
tree8dc306138cd694c348b0b9bb53a5afc9c896c035 /Makefile
parentba60821f0aadef99f200fa708b26fb9921ed7b70 (diff)
downloadpodman-9731ecfc7a687ee12c2421cf0979bdc08b5b882e.tar.gz
podman-9731ecfc7a687ee12c2421cf0979bdc08b5b882e.tar.bz2
podman-9731ecfc7a687ee12c2421cf0979bdc08b5b882e.zip
[CI:DOCS] Restore missing content to manpages
The following content was omitted: - Text after the first markdown link on a line to the end of the last (in lines with multiple markdown links) - Email addresses of the form <a...@...> Fixed by: - Making the first two regexes match each link individually, instead of matching from the start of the first link to the end of the last - Making the last regex specifically match <a> and </a> tags Signed-off-by: Rob Cowsill <42620235+rcowsill@users.noreply.github.com>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 1c6d4ba3d..b94a6d237 100644
--- a/Makefile
+++ b/Makefile
@@ -425,8 +425,8 @@ pkg/api/swagger.yaml: .gopathok
make -C pkg/api
$(MANPAGES): %: %.md .install.md2man docdir
- @sed -e 's/\((podman.*\.md)\)//' -e 's/\[\(podman.*\)\]/\1/' \
- -e 's;<\(/\)\?\(a[^>]*\|sup\)>;;g' $< | \
+ @sed -e 's/\((podman[^)]*\.md)\)//g' -e 's/\[\(podman[^]]*\)\]/\1/g' \
+ -e 's;<\(/\)\?\(a\|a\s\+[^>]*\|sup\)>;;g' $< | \
$(GOMD2MAN) -in /dev/stdin -out $(subst source/markdown,build/man,$@)
.PHONY: docdir