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