1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46
|
% tcldocstrip.ins --- DOCSTRIP installation script for
% the docstrip Tcl package
\input docstrip
% Redefine the \MetaPrefix; it should be something which starts a
% until-end-of-line comment:
\edef\MetaPrefix{\string#\string#}
% Redefine the file preamble and postamble; this is necessary because
% otherwise the old \metaPrefix is inserted at the beginning of these
% lines.
\preamble
In other words:
**************************************
* This Source is not the True Source *
**************************************
the true source is the file from which this one was generated.
\endpreamble
\postamble
\endpostamble
\askforoverwritefalse
% Actually make docstrip.tcl et al.:
\generate{
\file{docstrip.tcl} {\from{tcldocstrip.dtx}{pkg}}
\file{docstrip_util.tcl} {\from{tcldocstrip.dtx}{utilpkg}}
\file{pkgIndex.tcl} {\from{tcldocstrip.dtx}{idx}}
\file{docstrip.test} {\from{tcldocstrip.dtx}{test}}
\file{docstrip_util.test}{\from{tcldocstrip.dtx}{utiltest}}
% The .test files are generated with an extra option tcllibtest
% by tcldocstrip.stitch. This causes them to make use of code
% that is unlikely to be present outside the tcllib test
% environment.
\usepreamble\empty
\usepostamble\empty
\file{docstrip.man} {\from{tcldocstrip.dtx}{man}}
\file{docstrip_util.man} {\from{tcldocstrip.dtx}{utilman}}
}
\end
|