Copying data files when installing, using Cabal

L.S., I am trying to install an application with data files (I am developing that application). These data files are mentioned in the .cabal file, after the "Data-files:" keyword. When I give command "runhaskell setup install", the data files are not copied; how can I correct this? -- Regards, Henk-Jan van Tuyl -- http://functor.bamikanarie.com http://Van.Tuyl.eu/ --

Hi Henk-Jan,
It works for me, see for example HLint:
http://community.haskell.org/~ndm/darcs/hlint
And a blog I wrote on it:
http://neilmitchell.blogspot.com/2008/02/adding-data-files-using-cabal.html
The data files are copied in to the data directory upon install. The
data-files: bit must be near the start, not under executable/library
subheadings.
Thanks
Neil
On Thu, Mar 26, 2009 at 3:58 PM, Henk-Jan van Tuyl
L.S.,
I am trying to install an application with data files (I am developing that application). These data files are mentioned in the .cabal file, after the "Data-files:" keyword. When I give command "runhaskell setup install", the data files are not copied; how can I correct this?
-- Regards, Henk-Jan van Tuyl
-- http://functor.bamikanarie.com http://Van.Tuyl.eu/ --
_______________________________________________ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe
participants (2)
-
Henk-Jan van Tuyl
-
Neil Mitchell