diff options
author | imp <imp@FreeBSD.org> | 2005-01-05 19:16:01 +0000 |
---|---|---|
committer | imp <imp@FreeBSD.org> | 2005-01-05 19:16:01 +0000 |
commit | a9e88e95f346ea2f26273b2dd37c5ea5d6bfe9a1 (patch) | |
tree | 41b277f37b59c9bbe401721c9d3a63667a9602b4 | |
parent | b095a629c145a7049fd464e55d82f003f2156534 (diff) | |
download | FreeBSD-src-a9e88e95f346ea2f26273b2dd37c5ea5d6bfe9a1.zip FreeBSD-src-a9e88e95f346ea2f26273b2dd37c5ea5d6bfe9a1.tar.gz |
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.
-rw-r--r-- | share/man/man9/style.9 | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/share/man/man9/style.9 b/share/man/man9/style.9 index 174acf8..d699481 100644 --- a/share/man/man9/style.9 +++ b/share/man/man9/style.9 @@ -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. |