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;<\(/\)\?\(a\|a\s\+[^>]*\|sup\)>;;g' \
|
||||||
-e 's/\\$$/ /g' $< |\
|
-e 's/\\$$/ /g' $< |\
|
||||||
$(GOMD2MAN) -out $(subst source/markdown,build/man,$@)
|
$(GOMD2MAN) -out $(subst source/markdown,build/man,$@)
|
||||||
# FIXME: 2023-02-16: we may need a multi-commit approach to
|
@if grep 'included file options/' docs/build/man/*; then \
|
||||||
# enable this.
|
echo "FATAL: man pages must not contain ^^^^"; exit 1; \
|
||||||
# @if grep 'included file options/' docs/build/man/*; then \
|
fi
|
||||||
# echo "FATAL: man pages must not contain ^^^^"; exit 1; \
|
|
||||||
# fi
|
|
||||||
|
|
||||||
.PHONY: docdir
|
.PHONY: docdir
|
||||||
docdir:
|
docdir:
|
||||||
|
Reference in New Issue
Block a user