Hi Branden, I'm linting the Linux man-pages in a different computer, where I only have groff-1.23.0 installed from the Debian package, and I'm getting more warnings than in my everyday computer (where I have both 1.23.0 from Debian Sid, and groff from git HEAD built from source).
System with only groff-1.23.0 from Debian Sid repositories:
$ touch man7/units.7
$ make lint check
PRECONV .tmp/man/man7/units.7.tbl
TBL .tmp/man/man7/units.7.eqn
EQN .tmp/man/man7/units.7.cat.troff
TROFF .tmp/man/man7/units.7.cat.set
troff:man7/units.7:26: warning: special character 'mc' not defined
make: *** [share/mk/build/catman/troff.mk:26:
.tmp/man/man7/units.7.cat.set] Error 1
make: *** Deleting file '.tmp/man/man7/units.7.cat.set'
System with both (the one built from source is in /usr/local/):
$ touch man7/units.7
$ make lint check # TROFF=/usr/local/bin/troff
MANDOC .tmp/man/man7/units.7.lint-man.mandoc.touch
GREP .tmp/man/man7/units.7.lint-man.tbl.touch
PRECONV .tmp/man/man7/units.7.tbl
TBL .tmp/man/man7/units.7.eqn
EQN .tmp/man/man7/units.7.cat.troff
TROFF .tmp/man/man7/units.7.cat.set
GROTTY .tmp/man/man7/units.7.cat
COL .tmp/man/man7/units.7.cat.grep
GREP .tmp/man/man7/units.7.check-catman.touch
$ touch man7/units.7
$ make lint check TROFF=/usr/bin/troff
MANDOC .tmp/man/man7/units.7.lint-man.mandoc.touch
GREP .tmp/man/man7/units.7.lint-man.tbl.touch
PRECONV .tmp/man/man7/units.7.tbl
TBL .tmp/man/man7/units.7.eqn
EQN .tmp/man/man7/units.7.cat.troff
TROFF .tmp/man/man7/units.7.cat.set
GROTTY .tmp/man/man7/units.7.cat
COL .tmp/man/man7/units.7.cat.grep
GREP .tmp/man/man7/units.7.check-catman.touch
No warnings in this latter system. Why?
Have a lovely day!
Alex
--
<https://www.alejandro-colomar.es/>
Looking for a remote C programming job at the moment.
signature.asc
Description: PGP signature
