guess we don't want the build dir
[latex2e.git] / trunk / base / docstrip.ins
bloba5f9f9937b1059f01fac4b6658e25a21346d45c5
1 %%
2 %% This file will generate fast loadable files and documentation
3 %% driver files from the doc files in this package when run through
4 %% LaTeX or TeX.
5 %%
6 %% Copyright 1993-2017
7 %% The LaTeX3 Project and any individual authors listed elsewhere
8 %% in this file. 
9 %% 
10 %% This file is part of the LaTeX base system.
11 %% -------------------------------------------
12 %% 
13 %% It may be distributed and/or modified under the
14 %% conditions of the LaTeX Project Public License, either version 1.3b
15 %% of this license or (at your option) any later version.
16 %% The latest version of this license is in
17 %%    http://www.latex-project.org/lppl.txt
18 %% and version 1.3b or later is part of all distributions of LaTeX 
19 %% version 2005/12/01 or later.
20 %% 
21 %% This file has the LPPL maintenance status "maintained".
22 %% 
23 %% As this file contains legal notices, it is NOT PERMITTED to modify
24 %% this file in any way that the legal information placed into
25 %% generated files is changed (i.e., the files generated when the
26 %% original file is executed). This restriction does not apply if
27 %% (parts of) the content is reused in a different WORK producing its
28 %% own generated files.
29 %% 
30 %% The list of all files belonging to the LaTeX base distribution is
31 %% given in the file `manifest.txt'. See also `legal.txt' for additional
32 %% information.
33 %% 
34 %% 
35 %% 
37 %% --------------- start of docstrip commands ------------------
39 % If the top level file is docstrip.ins, most TeXs set \jobname to
40 % docstrip which would make docstrip program think it should run
41 % in interactive mode. So redefine \jobname in this install file.
43 \let\jobname\relax
44 \input docstrip.dtx
46 \preamble
48 This is a generated file.
50 The source is maintained by the LaTeX Project team and bug
51 reports for it can be opened at http://latex-project.org/bugs.html
52 (but please observe conditions on bug reports sent to that address!)
55 Copyright 1993-2017
56 The LaTeX3 Project and any individual authors listed elsewhere
57 in this file. 
59 This file was generated from file(s) of the LaTeX base system.
60 --------------------------------------------------------------
62 It may be distributed and/or modified under the
63 conditions of the LaTeX Project Public License, either version 1.3c
64 of this license or (at your option) any later version.
65 The latest version of this license is in
66    http://www.latex-project.org/lppl.txt
67 and version 1.3c or later is part of all distributions of LaTeX 
68 version 2005/12/01 or later.
70 This file has the LPPL maintenance status "maintained".
72 This file may only be distributed together with a copy of the LaTeX
73 base system. You may however distribute the LaTeX base system without
74 such generated files.
76 The list of all files belonging to the LaTeX base distribution is
77 given in the file `manifest.txt'. See also `legal.txt' for additional
78 information.
80 The list of derived (unpacked) files belonging to the distribution 
81 and covered by LPPL is defined by the unpacking scripts (with 
82 extension .ins) which are part of the distribution.
83 \endpreamble
87 \declarepostamble\istpost
88 \endpostamble
90 \keepsilent
92 % programs and packages
94 \usedir{tex/latex/base}
96 \generate{\file{docstrip.tex}{\from{docstrip.dtx}{initex,program,stats}}
97          }
100 \generate{\file{ltxdoc.cls}{\from{ltxdoc.dtx}{class}}
101          }
103 \generate{\file{doc.sty}{\from{doc.dtx}{package}}
104           \file{shortvrb.sty}{\from{doc.dtx}{shortvrb}}
105           \usepostamble\istpost
106           \usedir{makeindex/latex}
107           \file{gind.ist}{\from{doc.dtx}{gind}}
108           \file{gglo.ist}{\from{doc.dtx}{gglo}}
109          }
111 \ifToplevel{
112 \Msg{***********************************************************}
113 \Msg{*}
114 \Msg{* To finish the installation you have to move the following}
115 \Msg{* files into a directory searched by TeX:}
116 \Msg{*}
117 \Msg{* \space\space doc.sty}
118 \Msg{* \space\space shortvrb.sty}
119 \Msg{* \space\space docstrip.tex}
120 \Msg{*}
121 \Msg{* Also move the following files into a directory searched}
122 \Msg{* by MakeIndex:}
123 \Msg{*}
124 \Msg{* \space\space gind.ist}
125 \Msg{* \space\space gglo.ist}
126 \Msg{*}
127 \Msg{* To produce the documentation run the files ending with}
128 \Msg{* `.dtx' through LaTeX.}
129 \Msg{*}
130 \Msg{* Happy TeXing}
131 \Msg{***********************************************************}
135 \endbatchfile