Re: Adding modules to the hat libraries

Malcolm Wallace <[email protected]> Mon, 16 Jan 2006 16:00:43 +0000
Newsgroups gmane.comp.lang.haskell.hat
Organization Dept of Computer Science, University of York
Message-ID <[email protected]>
Thomas Davie <[email protected]> writes:

> I'm trying to get QuickCheck added to the available hat modules...
> 
> So... I've added the source file at src/hatlibs/Test/QuickCheck.hs,  
> I've modified src/hatlibs/Makefile to tell it to build the file, I've  
> modified configure to make it install the .hx file... I've edited the  
> src/hatlibs/hat.pkgconf and src/hatlibs/hat.cabal files to make ghc's  
> package system make sense, I can't for the life of me figure out what  
> to edit to tell it to install the .hi file!

If you are not using Cabal to build and install the hat libraries, then
the shell script at script/confhat does the actual copying of stuff to
its final installed location.  All you should need to do is add the new
directories, e.g. "Test" to the DIRS variable near the top.

Regards,
    Malcolm