Replace with the good installer from mdwtools.
authormdw <mdw>
Sun, 24 Feb 2002 12:46:09 +0000 (12:46 +0000)
committermdw <mdw>
Sun, 24 Feb 2002 12:46:09 +0000 (12:46 +0000)
strayman.ins

index b901a03..ce67980 100644 (file)
@@ -1,4 +1,38 @@
-% strayman.ins
+%
+% $Id: strayman.ins,v 1.2 2002/02/24 12:46:09 mdw Exp $
+%
+% Installer for the strayman packages
+%
+% (c) 1996 Mark Wooding
+%
+
+%----- Revision history -----------------------------------------------------
+%
+% $Log: strayman.ins,v $
+% Revision 1.2  2002/02/24 12:46:09  mdw
+% Replace with the good installer from mdwtools.
+%
+
+% --- Licence note ---
+%
+% strayman installer
+% Copyright (c) 1996 Mark Wooding
+%
+% This program is free software; you can redistribute it and/or modify
+% it under the terms of the GNU General Public License as published by
+% the Free Software Foundation; either version 2 of the License, or
+% (at your option) any later version.
+%
+% This program is distributed in the hope that it will be useful,
+% but WITHOUT ANY WARRANTY; without even the implied warranty of
+% MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+% GNU General Public License for more details.
+%
+% You should have received a copy of the GNU General Public License
+% along with this program; if not, write to the Free Software
+% Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
+
+% --- Sort out how to do all this ---
 
 \def\batchfile{strayman.ins}
 \input docstrip
 
 \preamble
 
-IMPORTANT NOTE
-This file is copyright (c) 1996 Straylight.  All rights reserved.
+IMPORTANT NOTICE
+\endpreamble
 
-Straylight do not accept responsibility for any loss or damage
-incurred as a result of using this file.
+{ % --- This is a group so that docstrip \reads it all in one go ---
 
-\endpreamble
+  \ifx\generate\mdwxxnotdef
+    \gdef\mdwgen#1{#1}
+    \gdef\mdwf#1#2{\generateFile{#1}{n}{#2}}
+    \gdef\needed#1{}
+  \else
+    \global\let\mdwgen\generate
+    \global\def\mdwf{\file}
+    \global\askforoverwritefalse
+  \fi
+
+}
 
-\askforoverwritefalse
-\generate{\file{strayman.cls}{\from{strayman.dtx}{strayman}}
-          \file{strayman.8pt}{\from{strayman.dtx}{8pt}}
-          \file{strayman.9pt}{\from{strayman.dtx}{9pt}}
-          \file{strayman.10pt}{\from{strayman.dtx}{10pt}}
-          \file{strayman.11pt}{\from{strayman.dtx}{11pt}}
-          \file{strayman.12pt}{\from{strayman.dtx}{12pt}}
-          \file{strayman.text}{\from{strayman.dtx}{text}}}
+\mdwgen{\mdwf {strayman.cls}    {\from{strayman.dtx}  {strayman}}
+        \mdwf {strayman.8pt}    {\from{strayman.dtx}  {8pt}}
+        \mdwf {strayman.9pt}    {\from{strayman.dtx}  {9pt}}
+        \mdwf {strayman.10pt}   {\from{strayman.dtx}  {10pt}}
+        \mdwf {strayman.11pt}   {\from{strayman.dtx}  {11pt}}
+        \mdwf {strayman.12pt}   {\from{strayman.dtx}  {12pt}}
+        \mdwf {strayman.text}   {\from{strayman.dtx}  {text}}
+}
 
 \Msg{Done!}