|
|
|
|
|
by anjbe
2346 days ago
|
|
> That's impossible by means of how they're written. GNU still cares about operating systems that don't bundle the mdoc macros with their troff processor Sudo supports such systems even though its manuals are written in mdoc. The source tarball contains both the original mdoc manuals and man manuals, autogenerated by mandoc (https://mandoc.bsd.lv) which can convert mdoc to man—easy to do, since mdoc is a semantic format. Then at build time one format or the other will be installed depending on how capable the system manpage formatter is. Any project using mdoc pages could do the same thing. Projects using autotools could even copy Sudo’s autoconf macros for this. |
|