chiark / gitweb /
strayman.dtx: Whitespace fixes.
[strayman] / strayman.ins
1 %
2 % $Id: strayman.ins,v 1.2 2002/02/24 12:46:09 mdw Exp $
3 %
4 % Installer for the strayman packages
5 %
6 % (c) 1996 Mark Wooding
7 %
8
9 % --- Licence note ---
10 %
11 % strayman installer
12 % Copyright (c) 1996 Mark Wooding
13 %
14 % This program is free software; you can redistribute it and/or modify
15 % it under the terms of the GNU General Public License as published by
16 % the Free Software Foundation; either version 2 of the License, or
17 % (at your option) any later version.
18 %
19 % This program is distributed in the hope that it will be useful,
20 % but WITHOUT ANY WARRANTY; without even the implied warranty of
21 % MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
22 % GNU General Public License for more details.
23 %
24 % You should have received a copy of the GNU General Public License
25 % along with this program; if not, write to the Free Software
26 % Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
27
28 % --- Sort out how to do all this ---
29
30 \def\batchfile{strayman.ins}
31 \input docstrip
32 \keepsilent
33
34 \preamble
35
36 IMPORTANT NOTICE
37 \endpreamble
38
39 { % --- This is a group so that docstrip \reads it all in one go ---
40
41   \ifx\generate\mdwxxnotdef
42     \gdef\mdwgen#1{#1}
43     \gdef\mdwf#1#2{\generateFile{#1}{n}{#2}}
44     \gdef\needed#1{}
45   \else
46     \global\let\mdwgen\generate
47     \global\def\mdwf{\file}
48     \global\askforoverwritefalse
49   \fi
50
51 }
52
53 \mdwgen{\mdwf {strayman.cls}    {\from{strayman.dtx}  {strayman}}
54         \mdwf {strayman.8pt}    {\from{strayman.dtx}  {8pt}}
55         \mdwf {strayman.9pt}    {\from{strayman.dtx}  {9pt}}
56         \mdwf {strayman.10pt}   {\from{strayman.dtx}  {10pt}}
57         \mdwf {strayman.11pt}   {\from{strayman.dtx}  {11pt}}
58         \mdwf {strayman.12pt}   {\from{strayman.dtx}  {12pt}}
59         \mdwf {strayman.text}   {\from{strayman.dtx}  {text}}
60 }
61
62 \Msg{Done!}