yield: Implement for OS/2 kLIBC.
[gnulib.git] / doc / licenses-texi.texi
blob630272c98f9a14ff2d784e61895aa2f1c383ac93
1 @node License Texinfo sources
2 @section License Texinfo sources
4 Gnulib provides copies of the GNU GPL, GNU LGPL, GNU Affero GPL, and
5 GNU FDL licenses in Texinfo form.  (The master location is
6 @url{https://www.gnu.org/licenses/}).  These Texinfo documents do not
7 have any node names and structures built into them; for your manual,
8 you should @code{@@include} them in an appropriate @code{@@node}.
10 The conventional name for the GPL node is @samp{Copying} and for the FDL
11 @samp{GNU Free Documentation License}.  The LGPL doesn't seem to have
12 a conventional node name.
14 Of course the license texts themselves should not be changed at all.
16 The recommended way to make use of these license files, consistently
17 with current practice, is as follows:
18 @itemize
19 @item
20 The code license (GNU GPL, GNU LGPL, or GNU Affero GPL) is usually
21 present as a file in the top-level directory.  This is true not only for
22 the release tarballs, but also in the VCS repository.  The file is
23 typically named @samp{COPYING} for the GNU GPL, or @samp{COPYING.LIB} or
24 @samp{COPYING.LESSER} for the GNU LGPL@.  The presence of this file
25 fulfills a legal obligation; see
26 @url{https://www.gnu.org/licenses/gpl-faq.html#WhyMustIInclude}.
28 To make use of the code license in your documentation, you may request
29 one of the modules @code{gpl-3.0}, @code{gpl-2.0}, @code{lgpl-3.0},
30 @code{lgpl-2.1}, @code{agpl-3.0}, through a @code{gnulib-tool} invocation.
31 Or you may copy the relevant Texinfo file directly into your VCS repository.
32 Both approaches are equally good.  The Texinfo file changes very rarely.
33 @item
34 The documentation license file (GNU FDL) is usually not present as a
35 file in the top-level directory, because that would be ambiguous: When
36 you use the GNU FDL, you need to specify the Invariant Sections, the
37 Front-Cover Texts, and the Back-Cover Texts.
39 To make use of this documentation license, copy the relevant Texinfo
40 file into your VCS repository.  This makes sure that anyone who receives
41 a copy of your VCS repository has also received a copy of the
42 documentation license.  In the documentation, also state what are the
43 Invariant Sections, the Front-Cover Texts, and the Back-Cover Texts.
44 @end itemize