
OK, so apparently my Google skills are lacking. I can't find anything but the most terse documentation of the cabal-install tool online. Somewhere there surely must be something which explains how to control this thing. Anyway, can anybody tell me how I can change the default settings so that I get profiling libraries built by default, and Haddock documentation built by default? (I'm on Windows, in case that makes a difference...)

On 8 March 2010 17:51, Andrew Coppin
Anyway, can anybody tell me how I can change the default settings so that I get profiling libraries built by default, and Haddock documentation built by default?
(I'm on Windows, in case that makes a difference...)
# cabal install --help shows you options like: --enable-library-profiling Enable Library profiling --enable-documentation Enable building of documentation If you want these settings permanently you need to locate your config file (I don't know where it is on Windows...) Peter

Peter Robinson wrote:
On 8 March 2010 17:51, Andrew Coppin
wrote: Anyway, can anybody tell me how I can change the default settings so that I get profiling libraries built by default, and Haddock documentation built by default?
(I'm on Windows, in case that makes a difference...)
# cabal install --help shows you options like: --enable-library-profiling Enable Library profiling --enable-documentation Enable building of documentation
If you want these settings permanently you need to locate your config file (I don't know where it is on Windows...)
Perhaps it's My Documents\.cabal or something? Oh no, wait a sec: E:\> cabal --help ... D:\Documents and Settings\User\Application Data\cabal\config

MigMit:~ MigMit$ cabal --help This program is the command line interface to the Haskell Cabal infrastructure. See http://www.haskell.org/cabal/ for more information. ....................^ ....................| --------------------+ On 8 Mar 2010, at 19:51, Andrew Coppin wrote:
OK, so apparently my Google skills are lacking. I can't find anything but the most terse documentation of the cabal-install tool online. Somewhere there surely must be something which explains how to control this thing. Anyway, can anybody tell me how I can change the default settings so that I get profiling libraries built by default, and Haddock documentation built by default?
(I'm on Windows, in case that makes a difference...)
_______________________________________________ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe

Miguel Mitrofanov wrote:
See http://www.haskell.org/cabal/ for more information. ....................^ ....................| --------------------+
Oh, sure, like I haven't already tried *that*. ;-)

On Mon, 2010-03-08 at 17:33 +0000, Andrew Coppin wrote:
Miguel Mitrofanov wrote:
See http://www.haskell.org/cabal/ for more information. ....................^ ....................| --------------------+
Oh, sure, like I haven't already tried *that*. ;-)
BTW, for future reference, the user guide on the cabal home page does mostly document the cabal command line interface. It talks about "runghc Setup.hs blah" but you can mentally substitute that for "cabal blah" and the same applies. At some point we'll update the user guide to be more specifically about the cabal program, rather than just about the Setup.hs interface. Volunteers welcome! I did recently switch the user guide from docbook xml to markdown, so it should be a lot easier for contributors. Duncan
participants (4)
-
Andrew Coppin
-
Duncan Coutts
-
Miguel Mitrofanov
-
Peter Robinson