The following instructions apply to Unix-like environments.  However,
lhs2TeX does run on Windows systems, too. (If you would like to add
installation instructions or facilitate the installation procedure for
Windows systems, please contact the authors.)

Unpack the archive. Assume that it has been unpacked into directory
"/somewhere". Then say

cd /somewhere/lhs2TeX-1.9
./configure
make
make install

You might need administrator permissions to perform the "make install"
step. Alternatively, you can select your own installation location by
passing the "--prefix" argument to @configure@:

./configure --prefix=/my/local/programs

With lhs2TeX come a couple of library files (containing basic
lhs2TeX formatting directives) that need to be found by the
lhs2TeX binary. The default search path is as follows:

.
$HOME/lhs2TeX
$HOME/.lhs2TeX
$LHS2TEX
/usr/local/share/lhs2tex
/usr/local/share/lhs2TeX
/usr/local/lib/lhs2tex
/usr/local/lib/lhs2TeX
/usr/share/lhs2tex
/usr/share/lhs2TeX
/usr/lib/lhs2tex
/usr/lib/lhs2TeX

Here, "$HOME" and "$LHS2TEX" denote the current values of these two
environment variables. Thus, if lhs2TeX is installed to a non-standard
path, you might want to set the environment variable "$LHS2TEX" to
point to the directory where the files "lhs2TeX.sty" and "lhs2TeX.fmt"
have been installed to.

IMPORTANT:
To be able to use ``poly'' style, the two LaTeX 
packages "polytable.sty" and "lazylist.sty" are required!

Both are included in the lhs2TeX distribution (they are not part of
standard LaTeX distributions, although they are available from
CTAN), and are usually installed during the normal procedure. The
configure script will determine whether a suitably recent version of
polytable is installed on your system, and if necessary, install
both "polytable.sty" and "lazylist.sty" to your TeX system. If this
is not desired or fails (because the script cannot detect your TeX
installation properly), the installation of these files can be
disabled by passing the option "--disable-polytable" to
"configure". In this case, the two files must be manually installed to
a location where your TeX distribution will find them.  Assuming
that you have a local TeX tree at "/usr/local/share/texmf", this can
usually be avhieved by placing the files in the directory
"/usr/local/share/texmf/tex/latex/polytable" and subsequently running

mktexlsr 

to update the TeX filename database.
