cabal-make almost ready

Conal Elliott conal at conal.net
Thu Jan 25 13:13:30 EST 2007


I've been using Cygwin's bash & make, but I just verified that I get the
same behavior when I use cmd.exe directly.

I run this command (in cmd.exe):

setup configure --disable-use-packages --haddock-args=" --read-interface=
> http://haskell.org/ghc/docs/latest/html/libraries/base,c:/ghc/ghc-6.6/doc/html/libraries/base/base.haddock--read-interface=
> http://haskell.org/ghc/docs/latest/html/libraries/mtl,c:/ghc/ghc-6.6/doc/html/libraries/mtl/mtl.haddock--read-interface=
> http://wxhaskell.sourceforge.net/doc,c:/Haskell/wxhaskell/out/doc/wxhaskell.haddock" --prefix=c:/Haskell/packages --datadir=c:/Haskell/packages
>

and the resulting.setup-config file's withProgram field contains this
element:

("haddock",Program {programName = "haddock", programBinName = "haddock",
> programArgs =
> ["--read-interface=http:\\\\haskell.org\\ghc\\docs\\latest\\html\\libraries\\base,c:\\ghc\\ghc-
> 6.6\\doc\\html\\libraries\\base\\base.haddock
> ","--read-interface=http:\\\\haskell.org\\ghc\\docs\\latest\\html\\libraries\\mtl,c:\\ghc\\ghc-
> 6.6\\doc\\html\\libraries\\mtl\\mtl.haddock","--read-interface=http:\\\\wxhaskell.sourceforge.net\\doc,c:\\Haskell\\wxhaskell\\out\\doc\\wxhaskell.haddock"],
> programLocation = FoundOnSystem
> "c:\\Haskell\\packages\\Haskell\\bin\\haddock.exe"})
>

and many other fields with similar translation of file paths.

   - Conal

On 1/25/07, Duncan Coutts <duncan.coutts at worc.ox.ac.uk> wrote:
>
> On Wed, 2007-01-24 at 22:51 -0800, Conal Elliott wrote:
> > Do forward slashes get turned into backslashes for xxxx-args arguments
> > in Windows?
>
> Are you using a shell like Mingw's MSYS? If so it does do that kind of
> translation. If you're getting that behaviour when using an ordinary
> windows command prompt (cmd.exe) then it's a cabal issue.
>
> Duncan
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.haskell.org/pipermail/cabal-devel/attachments/20070125/8562abf0/attachment.htm


More information about the cabal-devel mailing list