| 1 | % |
| 2 | % $Id: mdwslides.ins,v 1.1 2002/02/24 12:47:11 mdw Exp $ |
| 3 | % |
| 4 | % Installer for the mdwslides packages |
| 5 | % |
| 6 | % (c) 1996 Mark Wooding |
| 7 | % |
| 8 | |
| 9 | %----- Revision history ----------------------------------------------------- |
| 10 | % |
| 11 | % $Log: mdwslides.ins,v $ |
| 12 | % Revision 1.1 2002/02/24 12:47:11 mdw |
| 13 | % Initial revision. |
| 14 | % |
| 15 | |
| 16 | % --- Licence note --- |
| 17 | % |
| 18 | % mdwslides 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 --- |
| 36 | |
| 37 | \def\batchfile{mdwslides.ins} |
| 38 | \input docstrip |
| 39 | \keepsilent |
| 40 | |
| 41 | \preamble |
| 42 | |
| 43 | IMPORTANT NOTICE |
| 44 | \endpreamble |
| 45 | |
| 46 | { % --- This is a group so that docstrip \reads it all in one go --- |
| 47 | |
| 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 | } |
| 59 | |
| 60 | \mdwgen{\mdwf {mdwslides.cls} {\from{mdwslides.dtx} {mdwslides}}} |
| 61 | |
| 62 | \Msg{Done!} |