A large majority of the source files in the tree start their license
and copyright statements in a comment that begins with /*-. Document this tradition. A strict adherence to this rule will help resellers that wish to publish all copyright notices, generated automatically from the tree. There are too many variant licenses to do it purely by more complicated pattern matching.
This commit is contained in:
parent
b095a629c1
commit
a9e88e95f3
@ -58,6 +58,16 @@ is silent on an issue.
|
||||
*/
|
||||
.Ed
|
||||
.Pp
|
||||
The copyright header should be a muli-line comment, with the first
|
||||
line of the comment having a dash after the star like so:
|
||||
.Bd -literal
|
||||
/*-
|
||||
* Copyright 1942 M. Warner Losh. All Rights Reserved.
|
||||
*
|
||||
* Long, boring license goes here, but redacted for brevity
|
||||
*/
|
||||
.Ed
|
||||
.Pp
|
||||
After any copyright header, there is a blank line, and the
|
||||
.Va rcsid
|
||||
for source files.
|
||||
|
Loading…
x
Reference in New Issue
Block a user