a1206edef6bcbbcd2acea6059279656592d7b07e
[mdwtools] / mdwtools.ins
1 %
2 % $Id: mdwtools.ins,v 1.3 2003/09/05 16:16:31 mdw Exp $
3 %
4 % Installer for the mdwtools packages
5 %
6 % (c) 1996 Mark Wooding
7 %
8
9 %----- Revision history -----------------------------------------------------
10 %
11 % $Log: mdwtools.ins,v $
12 % Revision 1.3 2003/09/05 16:16:31 mdw
13 % New stuff\!
14 %
15 % Revision 1.2 2002/02/19 22:49:57 mdw
16 % Use lowercase names for font definition files.
17 %
18 % Revision 1.1 2002/02/03 20:49:03 mdw
19 % Checkin for new build system.
20 %
21 % Revision 1.3 1996/11/19 20:57:26 mdw
22 % Entered into RCS
23 %
24
25 % --- Licence note ---
26 %
27 % mdwtools installer
28 % Copyright (c) 1996 Mark Wooding
29 %
30 % This program is free software; you can redistribute it and/or modify
31 % it under the terms of the GNU General Public License as published by
32 % the Free Software Foundation; either version 2 of the License, or
33 % (at your option) any later version.
34 %
35 % This program is distributed in the hope that it will be useful,
36 % but WITHOUT ANY WARRANTY; without even the implied warranty of
37 % MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
38 % GNU General Public License for more details.
39 %
40 % You should have received a copy of the GNU General Public License
41 % along with this program; if not, write to the Free Software
42 % Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
43
44 % --- Sort out how to do all this ---
45
46 \def\batchfile{mdwtools.ins}
47 \input docstrip
48 \keepsilent
49
50 \preamble
51
52 IMPORTANT NOTICE
53 \endpreamble
54
55 { % --- This is a group so that docstrip \reads it all in one go ---
56
57 \ifx\generate\mdwxxnotdef
58 \gdef\mdwgen#1{#1}
59 \gdef\mdwf#1#2{\generateFile{#1}{n}{#2}}
60 \gdef\needed#1{}
61 \else
62 \global\let\mdwgen\generate
63 \global\def\mdwf{\file}
64 \global\askforoverwritefalse
65 \fi
66
67 }
68
69 \mdwgen{\mdwf {at.sty} {\from {at.dtx} {package}}
70 \mdwf {mdwlist.sty} {\from {mdwlist.dtx} {package}}
71 \mdwf {mdwtab.sty} {\from {mdwtab.dtx} {mdwtab}
72 \needed{syntax.dtx}
73 \from {footnote.dtx} {macro}
74 \from {doafter.dtx} {macro}}
75 \mdwf {mdwkey.sty} {\from {mdwkey.dtx} {package}}
76 \mdwf {mdwkey.tex} {\from {mdwkey.dtx} {package,plain}}
77 \mdwf {syntax.sty} {\from {syntax.dtx} {package}
78 \from {doafter.dtx} {macro}}
79 \mdwf {mtcolor.sty} {\from {mdwtab.dtx} {color}}
80 \mdwf {mtcolour.sty} {\from {mdwtab.dtx} {colour}}
81 \mdwf {colour.sty} {\from {colour.dtx} {package}}
82 \mdwf {centre.sty} {\from {centre.dtx} {package}}
83 \mdwf {mathenv.sty} {\from {mdwtab.dtx} {mathenv}}
84 \mdwf {mdwmath.sty} {\from {mdwmath.dtx} {package}}
85 \mdwf {sverb.sty} {\from {sverb.dtx} {package}}
86 \mdwf {svcolor.sty} {\from {sverb.dtx} {color}}
87 \mdwf {svcolour.sty} {\from {sverb.dtx} {colour}}
88 \mdwf {svsplit.sty} {\from {sverb.dtx} {split}}
89 \mdwf {footnote.sty} {\from {footnote.dtx} {package}}
90 \mdwf {doafter.sty} {\from {doafter.dtx} {package,latex2e}}
91 \mdwf {doafter.tex} {\from {doafter.dtx} {package,plain}}
92 \mdwf {cmtt.sty} {\from {cmtt.dtx} {sty}}
93 \mdwf {mttenc.def} {\from {cmtt.dtx} {def}}
94 \mdwf {mttcmtt.fd} {\from {cmtt.dtx} {fd}}
95 \mdwf {crypto.sty} {\from {crypto.dtx} {package}}
96 \mdwf {mdwthm.sty} {\from {mdwthm.dtx} {package}}
97 \mdwf {exercise.sty} {\from {exercise.dtx} {package}}
98 \mdwf {slowbox.sty} {\from {slowbox.dtx} {package}}
99 \mdwf {mdwmargin.thm} {\from {mdwthm.dtx} {thmstyle}}
100 \mdwf {poetry.sty} {\from {poetry.dtx} {package}}
101 }
102
103 \Msg{Done!}