Re: Code coverage report for groff 1.24.0pre -- thanks, gnulib!

"G. Branden Robinson" <[email protected]>
Newsgroups gmane.comp.lib.gnulib.bugs,gmane.comp.printing.groff.general
Message-ID <20260117192840.ilzrsllsnoktpk4k@illithid>
Hi Collin,

At 2026-01-17T11:18:13-0800, Collin Funk wrote:
> Fair enough. Though "maint.mk" mostly just uses Perl, Awk, Sed, etc.
> Things that will be installed on any machine by default besides maybe
> containers, but those are certainly at least transitive dependencies
> of groff.
> 
> There are a few rules that use other programs, e.g. "codespell", but
> we check for those and skip them if they do not exist.

In this case I was thinking of "lcov" and "genhtml", which the coverage
targets require.

And "genhtml", wow.  Holy name space squat, Batman!  "lcov" also seized
"gendesc", "geninfo", and "genpng".  I am impressed by the audacity.

Nobody else has any business "gen"ing HTML, PNG images, or GNU Info for
any other purpose!

> "G. Branden Robinson" <[email protected]> writes:
> > I'm leaning toward adding a "tags" target as well, to run "ctags -R"
> > over relevant portions of the tree.  I've already been using "tags"
> > files to develop groff with Vim and my personal fork of "mg".  I see no
> > reason not to help others do the same.
> 
> Oh, I am so used to Automake making those rules for me. Does 'make
> TAGS' not work in groff for some reason?

Nope.

$ make -C build TAGS
make: Entering directory '/home/branden/src/GIT/groff/build'
make[1]: Entering directory '/home/branden/src/GIT/groff/build'
make[1]: *** No rule to make target 'src/utils/pfbtops/dummy.cpp', needed by 'tags-am'.  Stop.
make[1]: Leaving directory '/home/branden/src/GIT/groff/build'
make: *** [Makefile:13257: tags-recursive] Error 1
make: Leaving directory '/home/branden/src/GIT/groff/build'

Is seems like there is _some_ sort of infrastructure there; I didn't ask
for no "tags-am" prerequisite.  Is this a bug?

> Copying some text from the Automake documentation [1]:
> 
>     All files listed using the _SOURCES, _HEADERS, and _LISP primaries
>     will be used to generate tags. Generated source files that are not
>     distributed must be declared in variables like
>     nodist_noinst_HEADERS or nodist_prog_SOURCES or they will be
>     ignored.
> 
> I would check groff for myself, but I never learned how to use ctags.

I am incredibly old.

I never got really practiced with cscope, but knew enough to bust it out
and to apply in an emergency.

> I like GNU global. :)

You're the first person I've heard mention it beyond GNU release
announcements, which I generally file away for later investigation and
then never get around to.  Give me the elevator pitch, as it applies to
you.  :)

Regards,
Branden
signature.asc (application/pgp-signature, 833 B)
-----BEGIN PGP SIGNATURE-----

iQIzBAABCAAdFiEEh3PWHWjjDgcrENwa0Z6cfXEmbc4FAmlr4uEACgkQ0Z6cfXEm
bc5yCA/9Hv6wjSwTfKAnW5wcz8cLyOj+VP8WAJv4oryXkS1j5PQO5INB5T4fQWE2
FW8yGVy5SZdFHnBkK8BWca7h3iDUk3iDdk/gTYikcwfyYklntMN1O+4QlP00az5g
gQls+x5TeA7q8ADaT3rHchVV1cmuTDjmFPTWHPWC7NntvmRjTrtaW7BocB9Al8+0
OP0vdg4AmoDr03sKL6Cq/AZigW6ryoixaSJ9/jiaNNFvOikxCZLyDkMwjQ3x6apN
B778u072WEhYk27mhJImGTUrhfhMd4O9CVS8z4B5ZTeaBfEdjDZY+T5Yv6iiW1uY
aIuUXt94tn2tO8BIwo/xeYM3dFNkmJfIq7rYbtfopbwTOG6bXgpoq8Hy92b3fpo2
KhgUNkQiSxj41qHbHHyEJ1z8hSvr8o63UWANTf0+gq5GLDiz2x5ExiMnDYwjraf4
kGhpuNF54jdPjp2E5K24UyNqiq7C95d5GUNbLnSQw1389bOhTdHCPmSr/7fGYPhD
yQ2kXFk83Fewol8ellx4hckzyEAKQ6WoeZLkc8WYcdq/vfIaylsyAvD5WjX3F/05
iIbsjITV2qYDS7AIW7MAJjm0qSwcHyRQ4aT6xlq9QOwMhJ9FvrdtdhvTrd4tG19+
5f7CzKvRPay0v3qZaWQzXRDLBUZLNzsl7zZwFQsXmw3rRQzJmrM=
=U8/l
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.