On 8/10/22 19:31, Guy Harris via tz wrote:
workman.sh should take the formatting command as an argument and Makefile should offer a choice of "nroff" or "mandoc" as the command
I took a crack at doing something along those lines by installing the attached. This doesn't have a Makefile option; it tries to intuit the right thing without bothering the installer. Since workman.sh is not using POSIX-standardized commands and this is a messy area (mandoc doesn't emulate nroff well enough to be perfect here, among other things it mishandles .ti) I figured giving people options would be more trouble than it's worth. It does puzzle me that workman.sh was called at all. If I run "make traditional_tarballs" from a freshly extracted distribution, workman.sh is not executed. I guess the man page source is being updated for some reason, but I don't know what that reason is.