Page MenuHomeFreeBSD

makeman: add a comment describing purpose and invocation
ClosedPublic

Authored by emaste on Apr 13 2017, 5:29 PM.
Tags
None
Referenced Files
Unknown Object (File)
Mon, Apr 8, 10:45 PM
Unknown Object (File)
Mar 20 2024, 4:56 AM
Unknown Object (File)
Mar 8 2024, 2:22 AM
Unknown Object (File)
Dec 20 2023, 1:51 AM
Unknown Object (File)
Nov 24 2023, 12:45 AM
Unknown Object (File)
Nov 10 2023, 3:46 PM
Unknown Object (File)
Nov 10 2023, 11:51 AM
Unknown Object (File)
Nov 8 2023, 4:15 AM
Subscribers

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

emaste added inline comments.
tools/build/options/makeman
12 ↗(On Diff #27422)

s/it //

tools/build/options/makeman
4 ↗(On Diff #27422)

Why remove this line?

9 ↗(On Diff #27422)

"of the" sounds a bit strange. "with the" seems a tad more natural.

tools/build/options/makeman
4 ↗(On Diff #27422)

Seemed like unnecessary whitespace with the longer comments below, and to group it into a header/copyright block.

9 ↗(On Diff #27422)

I think "knob of the same name" is perfectly cromulent by itself, but "of the ... of the" does seem awkward. Will change.

tools/build/options/makeman
4 ↗(On Diff #27422)

Ah, ok..

9 ↗(On Diff #27422)

Thanks :)!

This is helpful, though I think it would also be useful if the comments at the top of src.conf.5 pointed back to makeman somehow (as otherwise if you are looking at src.conf.5 you wouldn't know to even look in tools/build/options). I still think having a 'make' shortcut in share/man/man5/Makefile ala 'make sysent' in sys/kern/Makefile would be most helpful. 'make src.conf.5' would be nice if you could trick make into only running it explicitly and never implicitly (e.g. never during buildworld)

add a reference to the tool that creates the doc

This revision is now accepted and ready to land.Apr 19 2017, 5:45 PM
This revision was automatically updated to reflect the committed changes.
head/tools/build/options/makeman
6

Passive -> active: s/is used to create/creates/
The comma is not needed.

11
This script invoices 'make showconfig' for each option on each supported architecture
to determine whether the default setting is always
head/tools/build/options/makeman
11

This is incorrect, since it does not invoke 'make showconfig' (options * architectures) times, it is invoked once per architecture. Maybe invokes 'make showconfig' to determine, for each option on each supported architecture, whether the default setting is always?

Or, "For each option on each supported architecture this script determines whether" (omitting mention of "make showconfig"). I think there's some value in referencing the use of make showconfig (to understand what information the script is actually using), but maybe folks can just look at the script to see how it works if they care.

head/tools/build/options/makeman
11

Agreed about the value of showing specifically what it does, since this script is... dense.

Oh, and I wrote "invoices". Sorry about that.

For each supported architecture, 'make showconfig' is invoked for each option to