%%
%% Copyright (C) 1999-2018 Daniel Flipo.
%%
%% This program can be distributed and/or modified under the terms
%% of the LaTeX Project Public License either version 1.3c of this
%% license or (at your option) any later version.
%% The latest version of this license is in
%%    http://www.latex-project.org/lppl.txt
%% and version 1.3c or later is part of all distributions of LaTeX
%% version 2005/12/01 or later.
%%
%% This file will generate fast loadable files and documentation
%% driver files from the doc files in this package when run through
%% LaTeX or TeX.
%%
\def\batchfile{contrib.ins}
\input docstrip.tex

{\ifx\generate\undefined
\Msg{**********************************************}
\Msg{*}
\Msg{* This installation requires docstrip}
\Msg{* version 2.3c or later.}
\Msg{*}
\Msg{* An older version of docstrip has been input}
\Msg{*}
\Msg{**********************************************}
\errhelp{Move or rename old docstrip.tex.}
\errmessage{Old docstrip in input path}
\batchmode
\csname @@end\endcsname
\fi}

\keepsilent
\askforoverwritefalse

\usedir{tex/latex/lettrine}

\nopreamble
\generate{\file{optfile.cfl}{\from{contrib.dtx}{opt}}
          \usedir{tex/latex/lettrine/contrib}
          \file{pzc2.cfl}{\from{contrib.dtx}{pzc2}}
          \file{pzc3.cfl}{\from{contrib.dtx}{pzc3}}
          \nopostamble
          \file{pacl.cfl}{\from{contrib.dtx}{pacl}}
          \file{padl.cfl}{\from{contrib.dtx}{padl}}
         }

\Msg{***********************************************************}
\Msg{*}
\Msg{* To finish the installation please move all the *.cfl}
\Msg{* files to the contrib subdirectory of tex/latex/lettrine.}
\Msg{*}
\Msg{* Happy TeXing!}
\Msg{*}
\Msg{***********************************************************}

\endbatchfile
\endinput
