\def\batchfile{cmbright.ins}
\input docstrip
\keepsilent
\Ask\answer{%
     ***********************************************************
  ^^J* 
  ^^J* Do you still use a LaTeX release older than 1995/06/01 ?
  ^^J*  
  ^^J* If so please answer with `y' below, otherwise with `n'.
  ^^J*  
  ^^J* You can easily redo this installation later in case you 
  ^^J* obtain an up-to-date LaTeX. (Do this soon!)
  ^^J*  
  ^^J***********************************************************}

{\ifx\answer\y

\Msg{*** Generating cmbright.sty with patches ***}

\generateFile{cmbright.sty}{f}{
     \from{cmbright.dtx}{cm,patch}}
\else
\Msg{*** Generating cmbright.sty ***}

\generateFile{cmbright.sty}{f}{
     \from{cmbright.dtx}{cm}}

\fi}

\Msg{*** Generating font definition files ***}

\generateFile{OT1cmbr.fd}{t}{\from{cmbr.fdd}{cm}}
\generateFile{T1cmbr.fd}{t}{\from{cmbr.fdd}{dc}}
\generateFile{OMLcmbrm.fd}{t}{\from{cmbr.fdd}{OMLcmbrm}}
\generateFile{OMScmbrs.fd}{t}{\from{cmbr.fdd}{OMScmbrs}}
\generateFile{OMLcmbr.fd}{t}{\from{cmbr.fdd}{OMLcmbr}}
\generateFile{OMScmbr.fd}{t}{\from{cmbr.fdd}{OMScmbr}}
\generateFile{OT1cmtl.fd}{t}{\from{cmbr.fdd}{OT1cmtl}}
\generateFile{T1cmtl.fd}{t}{\from{cmbr.fdd}{T1cmtl}}
\generateFile{TS1cmtl.fd}{t}{\from{cmbr.fdd}{TS1cmtl}}
\generateFile{TS1cmbr.fd}{t}{\from{cmbr.fdd}{TS1cmbr}}

\ifToplevel{
\Msg{***********************************************************}
\Msg{*}
\Msg{* To finish the installation you have to move all }
\Msg{* `.fd' and `.sty' files that have been generated }
\Msg{* into a directory searched by LaTeX.}
\Msg{*}
\Msg{* In a TDS file system this should be: }
\Msg{* \space\space texmf/tex/latex/cmbright }
\Msg{*}
\Msg{***********************************************************}
}

\endinput

