Skip to content

Commit

Permalink
docs: Run tbl preprocessor in manpage-check rule.
Browse files Browse the repository at this point in the history
If we omit this, groff 1.23.0 warns:

  tbl preprocessor failed, or it or soelim was not run; table(s) likely
  not rendered (TE macro called with TW register undefined)

Reported-by: Lucas Nussbaum <[email protected]>
Reported-at: https://bugs.debian.org/1042358
Signed-off-by: Colin Watson <[email protected]>
Signed-off-by: Ilya Maximets <[email protected]>
  • Loading branch information
cjwatson authored and igsilya committed Aug 23, 2023
1 parent 6929485 commit 93412e0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -368,7 +368,7 @@ ALL_LOCAL += manpage-check
manpage-check: $(man_MANS) $(dist_man_MANS) $(noinst_man_MANS)
@error=false; \
for manpage in $?; do \
LANG=en_US.UTF-8 groff -w mac -w delim -w escape -w input -w missing -w tab -T utf8 -man -p -z $$manpage >$@.tmp 2>&1; \
LANG=en_US.UTF-8 groff -t -w mac -w delim -w escape -w input -w missing -w tab -T utf8 -man -p -z $$manpage >$@.tmp 2>&1; \
if grep warning: $@.tmp; then error=:; fi; \
rm -f $@.tmp; \
done; \
Expand Down

0 comments on commit 93412e0

Please sign in to comment.