%% This is file `wargame.ins', the installation file for the
%% `wargame' package.
%%
%% Copyright (C) 2019 Christian Holm.
%%
%% The wargame package is free software; you can redistribute it
%% and/or modify it under the terms of the GNU General Public License
%% as published by the Free Software Foundation; either version 2 of
%% the License, or (at your option) any later version.
%%
%% The universal package is distributed in the hope that it will be
%% useful, but WITHOUT ANY WARRANTY; without even the implied warranty
%% of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
%% GNU General Public License for more details.
%%
%% You should have received a copy of the GNU General Public License
%% along with this package; if not, write to the Free Software
%% Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
%%

\input docstrip.tex
\keepsilent
\askforoverwritefalse
\declarepreamble\long

Copyright (C) 2019 Christian Holm.

This file is NOT the source for wargame, because almost all comments
have been stripped from it.  It is NOT the preferred form of universal
for making modifications to it.

Therefore you can NOT redistribute and/or modify THIS file.  You can
however redistribute the complete source (wargame.dtx and wargame.ins)
and/or modify it under the terms of the GNU General Public License as
published by the Free Software Foundation; either version 2, or (at
your option) any later version.

The wargame package is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
General Public License for more details.

You should have received a copy of the GNU General Public 
License along with this package; if not, write to the 
  Free Software Foundation, Inc., 
  675 Mass Ave, Cambridge, 
  MA 02139, USA.

See the file wargame.dtx for further comments and documentation.

\endpreamble

\declarepreamble\short

Copyright (C) 2019 Christian Holm.

The wargame package is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
General Public License for more details.

See the file wargame.dtx for further comments and documentation.

\endpreamble

\postamble
Local Variables:
  mode: LaTeX
End:
\endpostamble

\usepreamble\long
\usedir{tex/latex/wargame}
\Msg{***********************************************************}
\Msg{* Generating LaTeX files}
\Msg{***********************************************************}
\generate{%
  \file{wargame.sty} {\from{package.dtx}{package}}
  \file{wgdoc.sty}   {\from{wargame.dtx}{docsty}}
  \file{compat.tex}  {\from{wargame.dtx}{driver,compat}}
  \file{symbols.tex} {\from{wargame.dtx}{driver,symbols}}
  %
  \file{tikzlibrarywargame.util.code.tex}{%
    \from{util/core.dtx}    {utils}
    \from{util/misc.dtx}    {utils}
    \from{util/compound.dtx}{utils}
    \from{util/bb.dtx}      {utils}
    \from{util/tikz.dtx}    {utils}
    \from{util/randomid.dtx}{utils}
    \from{util/icons.dtx}   {utils}
  }
  %
  \file{wgexport.cls}{%
    \from{util/export.dtx}{exportcls}}
  %
  \file{tikzlibrarywargame.hex.code.tex}{
    \from{hex/core.dtx}               {hex}
    \from{hex/coord.dtx}              {hex}
    \from{hex/shape.dtx}              {hex}
    \from{hex/terrain.dtx}            {hex}
    \from{hex/terrain/beach.dtx}      {hex}
    \from{hex/terrain/fields.dtx}     {hex}
    \from{hex/terrain/speckle.dtx}    {hex}
    \from{hex/terrain/light_woods.dtx}{hex}
    \from{hex/terrain/woods.dtx}      {hex}
    \from{hex/terrain/swamp.dtx}      {hex}
    \from{hex/terrain/rough.dtx}      {hex}
    \from{hex/terrain/mountains.dtx}  {hex}
    \from{hex/terrain/village.dtx}    {hex}
    \from{hex/terrain/town.dtx}       {hex}
    \from{hex/terrain/city.dtx}       {hex}
    \from{hex/terrain/mountain.dtx}   {hex}
    \from{hex/terrain/tree.dtx}       {hex}
    \from{hex/ridges.dtx}             {hex}
    \from{hex/towns.dtx}              {hex}
    \from{hex/labels.dtx}             {hex}
    \from{hex/extra.dtx}              {hex}
    \from{hex/paths.dtx}              {hex}
    \from{hex/board.dtx}              {hex}
    \from{hex/split.dtx}              {hex}}
  %
  \file{tikzlibrarywargame.natoapp6c.code.tex}{
    \from{natoapp6c/core.dtx}           {natoapp6c}
    \from{natoapp6c/frames/base.dtx}    {natoapp6c}
    \from{natoapp6c/frames/friendly.dtx}{natoapp6c}
    \from{natoapp6c/frames/hostile.dtx} {natoapp6c}
    \from{natoapp6c/frames/neutral.dtx} {natoapp6c}
    \from{natoapp6c/frames/unknown.dtx} {natoapp6c}
    \from{natoapp6c/echelon.dtx}        {natoapp6c}
    \from{natoapp6c/text.dtx}           {natoapp6c}
    \from{natoapp6c/shape.dtx}          {natoapp6c}
    \from{natoapp6c/util.dtx}           {natoapp6c}
    \from{natoapp6c/weaponry.dtx}       {natoapp6c}
    \from{natoapp6c/symbols.dtx}        {natoapp6c}
    \from{natoapp6c/list.dtx}           {natoapp6c}}
  %
  \file{tikzlibrarywargame.chit.code.tex}{
    \from{chit/core.dtx}     {chit}
    \from{chit/shape.dtx}    {chit}
    \from{chit/elements.dtx} {chit}
    \from{chit/modifiers.dtx}{chit}
    \from{chit/stack.dtx}    {chit}
    \from{chit/oob.dtx}      {chit}
    \from{chit/table.dtx}    {chit}
    \from{chit/battle.dtx}   {chit}
    \from{chit/dice.dtx}     {chit}
    \from{chit/misc.dtx}     {chit}}
  %
  \file{wargame.beach.tex}	{\from{hex/tile.dtx}{tile,beach}}
  \file{wargame.city.tex}	{\from{hex/tile.dtx}{tile,city}}
  \file{wargame.light_woods.tex}{\from{hex/tile.dtx}{tile,lightwoods}}
  \file{wargame.mountains.tex}	{\from{hex/tile.dtx}{tile,mountains}}
  \file{wargame.rough.tex}	{\from{hex/tile.dtx}{tile,rough}}
  \file{wargame.swamp.tex}	{\from{hex/tile.dtx}{tile,swamp}}
  \file{wargame.town.tex}	{\from{hex/tile.dtx}{tile,town}}
  \file{wargame.village.tex}	{\from{hex/tile.dtx}{tile,village}}
  \file{wargame.woods.tex}	{\from{hex/tile.dtx}{tile,woods}}
  \file{wargame.fields.tex}	{\from{hex/tile.dtx}{tile,fields}}
  \file{wargame.speckle.tex}	{\from{hex/tile.dtx}{tile,speckle}}
  %
  \file{testmap.tex}    {\from{tests/map.dtx}{testmap}}
  \file{testchits.tex}  {\from{tests/chits.dtx}{testchits}}
  %
  \file{cmp_air.tex}	     {\from{natoapp6c/compat/air.dtx}	      {cmp}}
  \file{cmp_missile.tex}     {\from{natoapp6c/compat/missile.dtx}     {cmp}}
  \file{cmp_land.tex}	     {\from{natoapp6c/compat/land.dtx}        {cmp}}
  \file{cmp_equipment.tex}   {\from{natoapp6c/compat/equipment.dtx}   {cmp}}
  \file{cmp_installation.tex}{\from{natoapp6c/compat/installation.dtx}{cmp}}
  \file{cmp_seasurface.tex}  {\from{natoapp6c/compat/seasurface.dtx}  {cmp}}
  \file{cmp_subsurface.tex}  {\from{natoapp6c/compat/subsurface.dtx}  {cmp}}
  \file{cmp_seamine.tex}     {\from{natoapp6c/compat/seamine.dtx}     {cmp}}
  \file{cmp_space.tex}	     {\from{natoapp6c/compat/space.dtx}       {cmp}}
  \file{cmp_activity.tex}    {\from{natoapp6c/compat/activity.dtx}    {cmp}}
  %
}

\Msg{***********************************************************}
\Msg{* To finish the installation you have to move the files}
\Msg{* `wargame.sty' `*.code.tex' into a directory searched by TeX.}
\Msg{*}
\Msg{* To produce the documentation do:}
\Msg{*\space\space latex wargame.dtx}
\Msg{*\space\space latex wargame.dtx}
\Msg{*\space\space makeindex -s gind -o wargame.ind wargame.idx}
\Msg{*\space\space makeindex -s gglo -o wargame.gls wargame.glo}
\Msg{*\space\space latex wargame.dtx}
\Msg{*\space\space latex wargame.dtx}
\Msg{* or whatever appropiate for your system.}
\Msg{***********************************************************}
\endbatchfile

%% Local Variables:
%%   mode: docTeX
%% End: