I just realized that I have three copyright sections in my DocTeX templates ??? I was trying to merge my templates, generated from the DTXTut by Scott Pakin, with the model DTX file, proposed by Joseph Wrights.
% ^^A Read Me and Copyright
%
% \iffalse meta-comment
% !TEX program = pdfLaTeX
%
%<*internal>
\iffalse
%</internal>
%<*readme>
----------------------------------------------------------------------
Package : <PACKAGE>
Author : <AUTHOR>
E-Mail : <E-MAIL>
Licence : LaTeX Project Public Licence (LPPL) v1.2 or later
(See https://www.latex-project.org/lppl.txt)
----------------------------------------------------------------------
A LaTeX package providing a style/class file for use in ones documentation.
%</readme>
%<*internal>
\fi
%</internal>
%
% Copyright (C) 2019 by <AUTHOR> <<E_MAIL>>
% -----------------------------------------
%
% This file may be distributed and/or modified under the
% conditions of the LaTeX Project Public License, either
% version 1.2 of this license or (at your option) any later
% version. The latest version of this license is in:
%
% http://www.latex-project.org/lppl.txt
%
% and version 1.2 or later is part of all distributions
% of LaTeX version 1999/12/01 or later.
%
% \fi
Then later on I have the same thing repeated no less then twice.
% \iffalse
%
% ^^A Package Installation
%
%<*batchfile>
\begingroup
%%
%% Copyright (C) 2019 by <AUTHOR> <<E_MAIL>>
%%
%% This file may be distributed and/or modified under the
%% conditions of the LaTeX Project Public License, either
%% version 1.2 of this license or (at your option) any later
%% version. The latest version of this license is in:
%%
%% http://www.latex-project.org/lppl.txt
%%
%% and version 1.2 or later is part of all distributions of
%% LaTeX version 1999/12/01 or later.
%%
\input docstrip.tex
\keepsilent
\askforoverwritefalse % ^^A Always overwrite
\preamble
This is a file was autogenerate from the \jobname package.
\endpreamble
\postamble
Copyright (C) 2019 by <AUTHOR> <<E_MAIL>>
This work may be distributed and/or modified under the
conditions of the LaTeX Project Public License (LPPL),
either version 1.2 of this license or (at your option)
any later version. The latest version of this license
is in:
http://www.latex-project.org/lppl.txt
and version 1.2 or later is part of all distributions
of LaTeX version 1999/12/01 or later.
\endpostamble
\usedir{doc/latex/\jobname}
\generate{
\nopreamble
\nopostamble
\file{\jobname/README.txt}{\from{\jobname.dtx}{readme}}}
\usedir{source/latex/\jobname}
\generate{\file{\jobname/\jobname.ins}{\from{\jobname.dtx}{batchfile}}}
\usedir{source/latex/\jobname}
\generate{\file{\jobname/\jobname.sty}{\from{\jobname.dtx}{Pkg,Sty}}}
\nopreamble\nopostamble
\endgroup
%</batchfile>
% \fi
If I recall correctly the first repeat is from me copy/pasting the entire *.ins template directly into my *.dtx template many moons ago. The second repeat is to assist in the production of the Copyright message in the output files. I intend to delete the first repeat since the *.ins file is merged into the *.dtx file and I see no reason to regenerate it beyond debugging (Joseph Wright does so in his templates for some reason). For the second repeat I was wondering if one might merge it with the original in some way, perhaps there is some guard trickery I'm unaware of that might be leveraged ?
\preamble...\endpreambleblock was actually overwriting a default message produced by DocStrip itself that instructs the user of the generated files to consult the source*.dtxfile for the copyright information. I'll leave the question open for a bit then close it with a fleshed out version of this comment. – Carel Jan 04 '19 at 16:24