groff
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Groff] GPL or FDL


From: Bernd Warken
Subject: Re: [Groff] GPL or FDL
Date: Fri, 25 Jan 2013 17:17:07 +0100 (CET)

I will move all man-pages where I'm among the authors from FDL to GPL.

Next I will transform all GPL man-pages into the following structure:

###########################
.TH ... @MAN1EXT@ "@MDATE@" "Groff Version @VERSION@"
.SH NAME
... \- ... groff ...
.
.SH "SYNOPSIS"
.\" The .SH was moved to this place in order to appease `apropos'.
.
.\" --------------------------------------------------------------------
.\" Legalese
.\" --------------------------------------------------------------------
.
.de author
This file was written by ... <email>.
..
.de copying
Copyright (C) 20..,...
  Free Software Foundation, Inc.
.
.P
This file is part of
.IR \%groff ,
a free software project.
.
You can redistribute it and/or modify it under the terms of the
.nh
.B GNU General Public License
.hy
as published by the
.nh
.BR "Free Software Foundation" ,
.hy
either version 3 of the License, or (at your option) any later version.
.
.P
You should have received a copy of the \f[CR]GNU General Public
License\f[] along with
.IR groff ,
see the files \%\f[CB]COPYING\f[] and \%\f[CB]LICENSE\f[] in the top
directory of the
.I groff
source package.
.
You can also visit
.nh
.B <http://www.gnu.org/licenses/>.
.hy
..
####################################


Near the end of the man-page file the following sections are added:

.\" --------------------------------------------------------------------
.SH "AUTHOR"
.\" --------------------------------------------------------------------
.author
.
.
.\" --------------------------------------------------------------------
.SH "COPYING"
.\" --------------------------------------------------------------------
.copying

########################################################################

So the copyright is loaded at the end by calling these macros.  That
means that the copyright at the beginning and at the end are guaranteed
to be the same.

Moreover the macro definition is not "ignored" by using .ig.

It seems necessary to have the leading .TH and .SH at the top before the
"Legalese".

I will comment the license for other files later on.

Bernd Warken



reply via email to

[Prev in Thread] Current Thread [Next in Thread]