Haddock, .lhs, and GHC
Duncan Coutts
duncan.coutts at worc.ox.ac.uk
Mon Jun 16 15:06:22 EDT 2008
On Mon, 2008-06-16 at 15:39 +0100, Alistair Bayley wrote:
> > I never thought about that. I've been using Setup.hs with "#!/usr/bin/env
> > runhaskell" and never had any problems.
> >
> > I guess the only thing that would be gained by using Setup.lhs is the
> > ability to compile the setup program. Is that something that's commonly
> > done?
>
> That's what I do. My normal install procedure is:
> ghc --make setup
> setup configure
> setup build
> setup install
Though of course these days we can just:
cabal install
It compiles Setup.(l)hs if necessary or for build types other than
Custom it can just do it directly without going via the Setup script.
Duncan
More information about the Glasgow-haskell-users
mailing list