mirror of
https://github.com/containers/podman.git
synced 2025-08-06 19:44:14 +08:00
Merge pull request #17576 from edsantiago/manpage_check
make docs: sanity check for broken man pages
This commit is contained in:
8
Makefile
8
Makefile
@ -469,11 +469,9 @@ $(MANPAGES): %: %.md .install.md2man docdir
|
||||
-e 's;<\(/\)\?\(a\|a\s\+[^>]*\|sup\)>;;g' \
|
||||
-e 's/\\$$/ /g' $< |\
|
||||
$(GOMD2MAN) -out $(subst source/markdown,build/man,$@)
|
||||
# FIXME: 2023-02-16: we may need a multi-commit approach to
|
||||
# enable this.
|
||||
# @if grep 'included file options/' docs/build/man/*; then \
|
||||
# echo "FATAL: man pages must not contain ^^^^"; exit 1; \
|
||||
# fi
|
||||
@if grep 'included file options/' docs/build/man/*; then \
|
||||
echo "FATAL: man pages must not contain ^^^^"; exit 1; \
|
||||
fi
|
||||
|
||||
.PHONY: docdir
|
||||
docdir:
|
||||
|
Reference in New Issue
Block a user