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