cabal runhaskell Setup makefile

The latest cabal documentation[1] indicates that I should be able to $ runhaskell Setup makefile to generate a Makefile from the cabal file. When I try running this command I get the following: $ runhaskell Setup makefile unrecognised command: makefile (try --help) Is this command available on some version of cabal? I'm using 1.8.0.2 of the library. $ cabal --version cabal-install version 0.8.0 using version 1.8.0.2 of the Cabal library Thanks! [1]: http://www.haskell.org/cabal/release/cabal-latest/doc/users-guide/builders.h...

On 10 November 2010 21:11, David Peixotto
The latest cabal documentation[1] indicates that I should be able to $ runhaskell Setup makefile to generate a Makefile from the cabal file.
Ah, sorry, the docs are out of date on that point. The docs in the darcs version have already been updated so it'll be fixed in the upcomming release. The makefile thing was always only GHC specific, it relied on external make include files and it only worked for libraries. Once GHC did not need it anymore I removed the (mis)feature. Duncan
participants (2)
-
David Peixotto
-
Duncan Coutts