Next: , Up: Source Files   [Contents][Index]


10.1.1 Copyright Header

Every source file should begin with a copyright header including the appropriate years and license information. This ensures that this information is always available even if the file becomes separated from the source distribution (e.g. is distributed independently). Further, it is necessary to indicate that the source file is distributed under the GNU General Public License version 3 or later—that “or later” clause does not exist as part of the license itself, and so the mere presence of the license in COPYING is insufficient.

The copyright headers vary slightly between JavaScript and Texinfo source files, represented in Figure 10.1 and Figure 10.2 respectively.

/**
 * DESCRIPTION OF FILE
 *
 *  Copyright (C) 2017, 2018 R-T Specialty, LLC.
 *
 *  This file is part of the Liza Data Collection Framework
 *
 *  Liza is free software: you can redistribute it and/or modify
 *  it under the terms of the GNU General Public License as published by
 *  the Free Software Foundation, either version 3 of the License, or
 *  (at your option) any later version.
 *
 *  This program is distributed in the hope that it will be useful,
 *  but WITHOUT ANY WARRANTY; without even the implied warranty of
 *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 *  GNU General Public License for more details.
 *
 *  You should have received a copy of the GNU General Public License
 *  along with this program.  If not, see <http://www.gnu.org/licenses/>.
 */

Figure 10.1: Example copyright header for JavaScript files

@c  This document is part of the Liza Data Collection Framework manual.
@c  Copyright (C) 2018 R-T Specialty, LLC.
@c
@c    Permission is granted to copy, distribute and/or modify this document
@c    under the terms of the GNU Free Documentation License, Version 1.3
@c    or any later version published by the Free Software Foundation;
@c    with no Invariant Sections, no Front-Cover Texts, and no Back-Cover
@c    Texts.  A copy of the license is included in the section entitled ``GNU
@c    Free Documentation License''.

Figure 10.2: Example copyright header for JavaScript files

For more information, see “How to Apply These Terms to Your New Programs” under the GNU General Public License version 3.


Next: , Up: Source Files   [Contents][Index]