[Haskell-cafe] Stupid question about Cabal file

2008-06-26 Thread Fernand
Hi, Excuse me in advance if this is a trivial question, but I have been unable to find (understand?) the answer in Cabal's documentation. My issue is simple : I build a Cabal package named, let's say, foo. That package is a library (libHSfoo.a, something like that), which exposes its Foo.Bar

Re: [Haskell-cafe] Stupid question about Cabal file

2008-06-26 Thread Daniel Fischer
Am Donnerstag, 26. Juni 2008 14:01 schrieb Fernand: Hi, Excuse me in advance if this is a trivial question, but I have been unable to find (understand?) the answer in Cabal's documentation. My issue is simple : I build a Cabal package named, let's say, foo. That package is a library

Re: [Haskell-cafe] Stupid question about Cabal file

2008-06-26 Thread Fernand
Daniel Fischer пишет: Did you create your package using Cabal, i.e. have a module Setup.(l)hs in the same directory as the .cabal file and then runhaskell Setup.hs configure --prefix=WhereYouWantIt runhaskell Setup.hs build runhaskell Setup.hs haddock (optionally) runhaskell Setup.hs install ?

Re: [Haskell-cafe] Stupid question about Cabal file

2008-06-26 Thread Daniel Fischer
Am Donnerstag, 26. Juni 2008 14:56 schrieb Fernand: Daniel Fischer пишет: Did you create your package using Cabal, i.e. have a module Setup.(l)hs in the same directory as the .cabal file and then runhaskell Setup.hs configure --prefix=WhereYouWantIt runhaskell Setup.hs build

Re: [Haskell-cafe] Stupid question about Cabal file

2008-06-26 Thread Fernand
I had a look at the Distribution.Make import, which may be the answer. Thank you for pointing the GHC documentation : I found a way to have the build process work, but after having patched my local package.conf file by hand, and installed manually the interfaces files accordingly. I now just