%%
%% Copyright (C) 2021-2022 by Jinwen XU
%%
%% This file may be distributed and/or modified under the conditions 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
%%

\input docstrip.tex
\keepsilent
\askforoverwritefalse

\begingroup
\catcode`\^^M=\active%
\obeyspaces%
\gdef\copyright{%
\ds@heading% This is file... generated with the docstrip utility.

Copyright (C) 2021-2022 by Jinwen XU

This is part of the ProjLib Toolkit.
}%
\gdef\lppllicense{%

This work may be distributed and/or modified under the conditions 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.
}%
\endgroup

\def\mypreamble{\copyright\lppllicense}
\usepreamble\mypreamble

\generate{\file{ProjLib.sty}{\from{ProjLib.dtx}{ProjLib}}}
\generate{\file{projlib-author.sty}{\from{ProjLib.dtx}{projlib-author}}}
\generate{\file{projlib-datetime.sty}{\from{ProjLib.dtx}{projlib-datetime}}}
\generate{\file{projlib-draft.sty}{\from{ProjLib.dtx}{projlib-draft}}}
\generate{\file{projlib-font.sty}{\from{ProjLib.dtx}{projlib-font}}}
\generate{\file{projlib-language.sty}{\from{ProjLib.dtx}{projlib-language}}}
\generate{\file{projlib-logo.sty}{\from{ProjLib.dtx}{projlib-logo}}}
\generate{\file{projlib-math.sty}{\from{ProjLib.dtx}{projlib-math}}}
\generate{\file{projlib-paper.sty}{\from{ProjLib.dtx}{projlib-paper}}}
\generate{\file{projlib-theorem.sty}{\from{ProjLib.dtx}{projlib-theorem}}}
\generate{\file{projlib-titlepage.sty}{\from{ProjLib.dtx}{projlib-titlepage}}}

\obeyspaces
\Msg{*************************************************************}
\Msg{*                                                           *}
\Msg{* To finish the installation you have to move the following *}
\Msg{* files into a directory searched by TeX:                   *}
\Msg{*                                                           *}
\Msg{*     ProjLib.sty                                           *}
\Msg{*     projlib-author.sty                                    *}
\Msg{*     projlib-datetime.sty                                  *}
\Msg{*     projlib-draft.sty                                     *}
\Msg{*     projlib-font.sty                                      *}
\Msg{*     projlib-language.sty                                  *}
\Msg{*     projlib-logo.sty                                      *}
\Msg{*     projlib-math.sty                                      *}
\Msg{*     projlib-paper.sty                                     *}
\Msg{*     projlib-theorem.sty                                   *}
\Msg{*     projlib-titlepage.sty                                 *}
\Msg{*                                                           *}
\Msg{* Happy TeXing!                                             *}
\Msg{*                                                           *}
\Msg{*************************************************************}

\endbatchfile
