[Haskell-cafe] Cabal question, adding data files

2006-08-23 Thread Neil Mitchell
Hi, I have a cabal executable, which requires additional data files. How do I do this in Cabal? I have seen extra-source-files, but they are not added at install time to the destination directory, which doesn't help me. I noticed that Alex does this, but with a lot of Cabal calling in Setup.hs

Re: [Haskell-cafe] Cabal question, adding data files

2006-08-23 Thread Ross Paterson
On Wed, Aug 23, 2006 at 10:42:54PM +0100, Neil Mitchell wrote: I have a cabal executable, which requires additional data files. How do I do this in Cabal? I have seen extra-source-files, but they are not added at install time to the destination directory, which doesn't help me. The field you

Re: [Haskell-cafe] Cabal question, adding data files

2006-08-23 Thread Neil Mitchell
Hi The field you want is data-files, documented in section 2.1.1 of the Cabal User's Guide. That looks perfect. Is there any reason that Alex doesn't use this? I was trying to learn by example. Thanks Neil ___ Haskell-Cafe mailing list

Re: [Haskell-cafe] Cabal question, adding data files

2006-08-23 Thread Conrad Parker
On Wed, Aug 23, 2006 at 11:36:00PM +0100, Neil Mitchell wrote: Hi The field you want is data-files, documented in section 2.1.1 of the Cabal User's Guide. That looks perfect. Is there any reason that Alex doesn't use this? I was trying to learn by example. Perhaps because Alex predates