Skip to content

Commit

Permalink
Merge pull request #17576 from edsantiago/manpage_check
Browse files Browse the repository at this point in the history
make docs: sanity check for broken man pages
  • Loading branch information
openshift-merge-robot authored Feb 20, 2023
2 parents cdd755d + 5754df8 commit a4f7bdc
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit a4f7bdc

Please sign in to comment.