Page MenuHomeFreeBSD

libutil++: Rename manpage source files to avoid colons
ClosedPublic

Authored by jhb on Thu, Aug 7, 4:14 PM.
Tags
None
Referenced Files
Unknown Object (File)
Tue, Aug 26, 8:53 PM
Unknown Object (File)
Sun, Aug 24, 5:11 PM
Unknown Object (File)
Sun, Aug 24, 2:21 PM
Unknown Object (File)
Thu, Aug 21, 7:27 PM
Unknown Object (File)
Wed, Aug 20, 10:07 PM
Unknown Object (File)
Wed, Aug 20, 10:53 AM
Unknown Object (File)
Mon, Aug 18, 8:07 PM
Unknown Object (File)
Mon, Aug 18, 7:21 PM
Subscribers

Details

Summary

To permit checking the sources out on systems such as Windows with
more restrictive file name requirements, rename the manpage source
files to replace colons with underscrores. Use MANSRC.foo to point
<bsd.man.mk> at the new source file names.

Sponsored by: Chelsio Communications

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Skipped
Unit
Tests Skipped
Build Status
Buildable 66065
Build 62948: arc lint + arc unit

Event Timeline

I initially tried using a rule to just cp foo__bar.3 to foo::bar.3 into .OBJDIR, but that failed with more errors about colons in target names and I couldn't figure out how to untangle that gracefully.

Note that the previous changes to bsd.man.mk are still required to get the versions built correctly.

I had thought about trying to use a helper variable that set the output file name (MANDEST.<mumble> or the like), but then you run into things like which compression suffix is used, etc. that I didn't want to have the client Makefiles have to know about. This approach seems the least painful.

This revision is now accepted and ready to land.Fri, Aug 22, 11:33 PM