11195 Lint old man pages for errors with mandoc
Review Request #1974 — Created June 6, 2019 and submitted
Information | |
---|---|
mno-hime | |
illumos-gate | |
master | |
11195 | |
|
|
1975 | |
0f2a0aa... | |
Reviewers | |
general | |
11195 Lint old man pages for errors with mandoc
With updated mandoc 1.14.5 update (#11190) some old man pages have errors resulting in display problems unless fixed.
Better to lint them for errors in the build. So far only one old man page does does not pass this lint: https://illumos.org/rb/r/1973/.
Full illumos-gate rebuild passed.
Log is bigger by 8k lines (old man pages which were not previously checked) of this sort:
checking syseventadm.1mFor my 50 minutes build it may be 1-2 minutes longer due to the checking.
-
-
usr/src/man/Makefile.man (Diff revision 1) Rather than running mandoc lint on the same files should we break this ino two different commands. The first which is operating on those where the egrep passes and then those that the egrep fails, rather than checking all of the new pages twice? I assume in this case that -Wwarning includes those from -Werror, but perhaps that's incorrect?
Change Summary:
Leverage if-else instead of &&/||
Commit: |
|
||||
---|---|---|---|---|---|
Diff: |
Revision 2 (+6 -3) |