Cabal questions

Iavor Diatchki iavor.diatchki at
Mon Mar 14 14:44:39 EST 2005

The other day I tried to use the Cabal library for the first time, and
mostly it worked, but I have the following questions that perhaps
someone can help me with:

- In the .cabal file there is a field for Exported modules, is there a
way to specify that all modules should be exported, or at least a
"hiding" version, where I can specify: "export all modules, but the
ones in this directory", etc.   If not, it seems that I have to write
some sort of a script to generate the .cabal file so that I don't
accidentally forget some modules, and so again I need a Makefile even
for the simplest libraries.

- I like the "generate source tarball feature", but can one customize
it a bit?  Typically when I generate a source tarball I don't just
include the source files, but READMEs, examples, documentation etc. 
Is there a way to specify this?


More information about the Libraries mailing list