At Mon, 5 Jun 2006 00:57:20 +0100, Ian Lynagh wrote:
On Tue, May 30, 2006 at 12:05:44PM -0700, Jeremy Shaw wrote:
I have a first cut of a template for cabalizing and debianizing haskell libraries.
I haven't had a good look, but I note you use dh_haskell. Personally I don't see the attraction of dh_haskell over update-haskell-control.
Is there a good place to get moqre information on using update-haskell-control? dh_haskell provides a number of features that I do not see present in update-haskell-control -- but I could be missing something.
A package built around dh_haskell typically has a very simple and generic debian/rules file (see the cabalDebianTemplate for an example). You then add the appropriate paragraphs to debian/control and dh_haskell automatically figures out how to build all the appropriate .debs. So, in this sense, it is fairly similar to cabal where you have a generic Setup.hs and you control it by putting different data in the .cabal file.
The other thing dh_haskell does is update the haskell variables in the debian/control file. I believe this is the area where dh_haskell and update-haskell-control overlap? I think I could use both dh_haskell for debian/rules, and update-haskell-control for debian/control -- but it would be nice to have one tool that "Does It All".
Thanks! j.