@hackage uulib0.9.12

Haskell Utrecht Tools Library

Please check the right section in this file for instructions depending on how you obtained the source files.

Installing uulib from a source distribution

The source distribution can be unpacked from the .tar.gz files distributed in the following page:

http://www.cs.uu.nl/wiki/HUT/Download

System wide installation (assumming GHC is the Haskell compiler) can be done like this:

ghc --make Setup.hs -o setup -package Cabal
./setup configure
./setup build
./setup install

Installing uulib to a non-standard location

This is useful if you don't want (or can't) modify system wide settings.

ghc --make Setup.hs -o setup -package Cabal
./setup configure --prefix=/foo
./setup build
./setup install --user

The last command registers the package only for the user.

Installing uulib from the subversion repository

Which can be obtained running the following subversion command:

svn co https://svn.cs.uu.nl:12443/repos/uust-repo/uulib/trunk/

Now install following the instructions below:

autoconf
./configure

NOTE: the above instructions are REQUIRED when you install from the subversion repository. They are not needed when you download a source distribution.

This generates uulib.cabal which is needed for the cabal commands:

ghc --make Setup.hs -o setup -package Cabal
./setup configure
./setup build
./setup install

If you want to install to a non-standard location you don't need to pass a path to configure, just follow the steps outlined above.

Source tarball (uploadable to hackage)

Use the "sdist" cabal command:

ghc --make Setup.hs -o setup -package Cabal
./setup configure
./setup sdist

You will find the tarball in the dist directory.

Optionally generating Haddock Documentation

Requires cpphs 0.9 Output generated in dist/doc/html

./setup haddock