Cabal: bindir/libdir/datadir

Krasimir Angelov kr.angelov at
Fri Oct 7 04:49:15 EDT 2005

2005/10/7, Simon Marlow <simonmar at>:
>  prefix        = C:\Program Files\
>  bindirrel     = $package
>  libdirrel     = Haskell\$package\$compiler
>  datadirrel    = $package
>  libexecdirrel = $package

datadirrel  = $package is a good default for executables because these
files will be used only from this executable. I propose

>  datadirrel    = Common Files\$package

only for library packages because there might be multiple executables
linked with this library and then they will need the same data files.


More information about the Libraries mailing list