%%
%% Installation file: Listings package for LaTeX2e
%% (w)(c) 1996-1997 by Carsten Heinz
%%
\def\batchfile{listings.ins}
\input{docstrip}
\keepsilent

\preamble

(w)(c) 1996-1997 by Carsten Heinz

This file is distributed freely. You are not allowed to take money
for the distribution or use of this file, except for a nominal charge
for copying etc.

This file is distributed without any warranty; without even the implied
warranty of merchantability or fitness for a particular purpose.

You are not allowed to change this file.

\endpreamble


\generate{%
  \file{listings.sty}{\from{listings.dtx}{package}}
  \file{lstblank.sty}{\from{listings.dtx}{blank}}
  \file{lstc.sty}{\from{listings.dtx}{c}}
  \file{lstcpp.sty}{\from{listings.dtx}{cpp}}
  \file{lsteiffel.sty}{\from{listings.dtx}{eiffel}}
  \file{lstfortran.sty}{\from{listings.dtx}{fortran}}
  \file{lstjava.sty}{\from{listings.dtx}{java}}
  \file{lstmodula.sty}{\from{listings.dtx}{modula}}
  \file{lstpascal.sty}{\from{listings.dtx}{pascal}}
  \file{lstpxsc.sty}{\from{listings.dtx}{pxsc}}
  \file{lsttp.sty}{\from{listings.dtx}{tp}}}


\let\TempWritePreamle=\WritePreamble \def\WritePreamble#1{}
\let\TempWritePostamle=\WritePostamble \def\WritePostamble#1{}
\generate{%
  \file{listing1.cpp}{\from{listings.dtx}{listing1}}
  \file{listing2.pas}{\from{listings.dtx}{listing2}}
  \file{listing3.cpp}{\from{listings.dtx}{listing3}}
  \file{testfile.pas}{\from{listings.dtx}{listing4}}}
\let\WritePreamble=\TempWritePreamble
\let\WritePostamble=\TempWritePostamble


\Msg{*}
\Msg{* Move all `.sty' files into a directory searched by TeX.}
\Msg{*}
\Msg{* Run the `.dtx' file through LaTeX to get the documentation.}
\Msg{*}
