[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH 0/6] Moar granular linting of manual pages

From: Alejandro Colomar
Subject: [PATCH 0/6] Moar granular linting of manual pages
Date: Thu, 9 Mar 2023 18:58:22 +0100


I'm working on getting the linters run by the Debian packaging through
override_dh_atuo_test (and hopefully other distros will do something
similar; and hopefully other projects will be interested, and will also
add some linting to their projects' manual pages, so we have better
manual pages overall, but I know I'm hoping too much with that).

One of the issues was that there are still many warnings in many pages
for most linters, so I wanted to have a large subset that would have
little to no warnings.  The only one that has no warnings at all is
'lint-man-tbl', and then there's 'lint-man-mandoc' which only has
warnings in two (external) pages.

To reduce that issue, and be able to pass more linters to the pages, I'm
splitting the 'lint-man-groff' pipeline into its elements, so I can
hopefully run most of them without warnings.  After this patch, we will
be able to run part of this pipeline in the packaging tests, since they
have no warnings, so we have some more testing.

And as a very nice side effect, we will have a complete set of
intermediate files produced by the pipeline, which allows one to inspect
any step without any manual intervention: just running the
'lint-man-groff' target will produce the entire set of intermediate
files used in the groff(1) pipeline (and also the output of col(1)).

This will help debug groff(1) when a problem arises.



Alejandro Colomar (6): make-lint-tbl: ffix
  Makefile, lint-man-groff-tbl: Split target from
  Makefile, lint-man-groff-eqn: Split target from
  Makefile, lint-man-groff-troff: Split target from
  Makefile, lint-man-groff-grotty: Split target from
  Makefile, lint-man-groff-col, lint-man-groff-grep: Split
    targets from lint-man-groff

 Makefile        |  8 ++++++-
 lib/ | 63 ++++++++++++++++++++++++++++++++++++++++++-------
 2 files changed, 61 insertions(+), 10 deletions(-)


reply via email to

[Prev in Thread] Current Thread [Next in Thread]