Hi, Alex! At 2022-03-18T02:17:53+0100, Alejandro Colomar wrote: > etc/groff/tmac/deadly.tmac is a file written by Branden, to make > make groff(1) abort when it finds a style problem, which then > causes make(1) to also abort. Oh, I'm glad to hear this worked out. I had on my to-do list a reply to you at one point when it wasn't working for some reason. > Branden, I'm curious to learn how/if you're using it in your own > Makefile in groff(1). Nothing sophisticated. :) I use it only in doc/doc.am, in the targets that generate compiled text and PDF versions of all of the groff man pages[1]. These will be new documents shipping in groff 1.23. I set the register `CHECKSTYLE` to "3" on the command line and format the pages with "groff -mandoc". Any warnings come out on standard error. > BTW, don't feel pressured by my premature usage of your unreleased > feature to consider not changing it too much to avoid breaking this > build system. I assume that it may change it the future when you > release and will adapt if necessary. I appreciate that. I have no disruptive plans--indeed, no plans at all for further development of the feature. I have thought of nothing else do that is both feasible and helpful in fixing problems with groff's own pages. (I acknowledge your talent at asking for things that are NP-hard. ;-) Regards, Branden [1] https://git.savannah.gnu.org/cgit/groff.git/tree/doc/doc.am#n232
Attachment:
signature.asc
Description: PGP signature