%% flippdf.ins
%% Copyright 2006, 2020
%% Sergio Callegari <sergio.callegari@gmail.com>
%%
%% ---------------------------------------------
%% This file is part of the flippdf package,
%% a contribution to the LaTeX2e system.
%% ---------------------------------------------
%%
%% It may be distributed and/or modified under the conditions of the
%% LaTeX Project Public License, version 1.3c. This version of the
%% license is at http://www.latex-project.org/lppl.txt and is part
%% of all distributions of LaTeX version 2003/06/01 or later.
%%
%% This work has the LPPL maintenance status "author-maintained".
%%
%% This program consists of the files listed in the README file
%% included in the package.
%%
%% This file will generate fast loadable files and documentation
%% from the dtx file when run through LaTeX.
%%
%%
%% --------------- start of docstrip commands ------------------
%%
\input docstrip.tex

\preamble

 IMPORTANT NOTICE:

Copyright 2006, 2020
Sergio Callegari <sergio.callegari@gmail.com>

---------------------------------------------
This file is part of the flippdf package,
a contribution to the LaTeX2e system.
---------------------------------------------

This program consists of the files listed in the README file included
in the package.

Any modified versions of this file must be renamed with new filenames
distinct from \outFileName.

For distribution of the original source see the terms for copying and
modification in the file \inFileName.

This generated file may be distributed as long as the original source files, as
listed above, are part of the same distribution. (The sources need not
necessarily be in the same archive or directory.)

\endpreamble

\keepsilent
\Msg{*** Generating the LaTeX2e package files ***}
\usedir{tex/latex/flippdf}
\generate{\file{flippdf.sty}{\from{flippdf.dtx}{flippdf}}}
\usedir{doc/latex/flippdf/examples}
\generate{\file{test-flippdf-1}{\from{flippdf.dtx}{test-1}}}
\generate{\file{test-flippdf-2}{\from{flippdf.dtx}{test-2}}}

\ReportTotals

\Msg{***********************************************************}
\Msg{*}
\Msg{* To finish the installation you have to move the following}
\Msg{* file(s) into a directory searched by TeX:}
\Msg{*}
\Msg{* \space\space flippdf.sty}
\Msg{*}
\Msg{*}
\Msg{* To produce the documentation:}
\Msg{*  - run flippdf.dtx through LaTeX}
\Msg{*  - process flippdf.idx by:}
\Msg{* \space\space\space\space makeindex -s gind.ist flippdf}
\Msg{* Process flippdf.glo by:}
\Msg{* \space\space\space\space makeindex -s gglo.ist -o flippdf.gls flippdf.glo}
\Msg{* Re run through LaTeX the flippdf.dtx as necessary}
\Msg{*}
\Msg{***********************************************************}

\endbatchfile
