Blame Manuals/Docbook/Licenses/Gpl/how-to-apply-this-license.docbook

e935c3
e935c3
<section>
e935c3
e935c3
    <title>How to Apply These Terms to Your New Programs</title>
e935c3
e935c3
    <para>If you develop a new program, and you want it to be of the
e935c3
    greatest possible use to the public, the best way to achieve this
e935c3
    is to make it free software which everyone can redistribute and
e935c3
    change under these terms.</para>
e935c3
e935c3
    <para>To do so, attach the following notices to the program.  It
e935c3
    is safest to attach them to the start of each source file to most
e935c3
    effectively convey the exclusion of warranty; and each file should
368c5c
    have at least the <quote>copyright</quote> line and a pointer to
368c5c
    where the full notice is found.</para>
e935c3
e935c3
    <programlisting>
e935c3
    <one line to give the program's name and a brief idea of what it does.>
e935c3
    Copyright (C) 19yy  <name of author>
e935c3
e935c3
    This program is free software; you can redistribute it and/or modify
e935c3
    it under the terms of the GNU General Public License as published by
e935c3
    the Free Software Foundation; either version 2 of the License, or
e935c3
    (at your option) any later version.
e935c3
e935c3
    This program is distributed in the hope that it will be useful,
e935c3
    but WITHOUT ANY WARRANTY; without even the implied warranty of
e935c3
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
e935c3
    GNU General Public License for more details.
e935c3
e935c3
    You should have received a copy of the GNU General Public License
e935c3
    along with this program; if not, write to the Free Software
e935c3
    Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
e935c3
    </programlisting>
e935c3
e935c3
    <para>Also add information on how to contact you by electronic and
e935c3
    paper mail.</para>
e935c3
e935c3
    <para>If the program is interactive, make it output a short notice
e935c3
    like this when it starts in an interactive mode:</para>
e935c3
e935c3
    <programlisting>
e935c3
    Gnomovision version 69, Copyright (C) 19yy name of author
e935c3
    Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
e935c3
    This is free software, and you are welcome to redistribute it
e935c3
    under certain conditions; type `show c' for details.
e935c3
    </programlisting>
e935c3
e935c3
    <para>The hypothetical commands `show w' and `show c' should show
e935c3
    the appropriate parts of the General Public License.  Of course,
e935c3
    the commands you use may be called something other than `show w'
e935c3
    and `show c'; they could even be mouse-clicks or menu
e935c3
    items–whatever suits your program.</para>
e935c3
e935c3
    <para>You should also get your employer (if you work as a
3a837e
    programmer) or your school, if any, to sign a <quote>copyright
3a837e
    disclaimer</quote> for the program, if necessary.  Here is a sample;
e935c3
    alter the names:</para>
e935c3
e935c3
    <programlisting>
e935c3
    Yoyodyne, Inc., hereby disclaims all copyright interest in the program
e935c3
    `Gnomovision' (which makes passes at compilers) written by James Hacker.
e935c3
e935c3
    <signature of Ty Coon>, 1 April 1989
e935c3
    Ty Coon, President of Vice
e935c3
    </programlisting>
e935c3
e935c3
    <para>This General Public License does not permit incorporating
e935c3
    your program into proprietary programs.  If your program is a
e935c3
    subroutine library, you may consider it more useful to permit
e935c3
    linking proprietary applications with the library.  If this is
e935c3
    what you want to do, use the GNU Library General Public License
e935c3
    instead of this License.</para>
e935c3
e935c3
</section>