Which version of Cabal are you using?
It should be fixed with Cabal-1.6.0.2, check cabal --version to make
sure it's not using an older one.

On Mon, Apr 6, 2009 at 8:32 PM, Martijn van Steenbergen
<[email protected]> wrote:
> Hello,
>
> cabal generates a Paths_Xxx file for me which I import and use, but cabal
> haddock doesn't seem to like it much.
>
> If I don't specify the generated module at all in my cabal file, cabal
> haddock generates visible documentation for the module, which is not what I
> want: the module should stay internal.
>
> If I specify it in either Exposed-Modules or Other-Modules, 'cabal
> configure; cabal haddock' fails with:
>
>> cabal: can't find source for Paths_Xxx in ., dist/build/autogen
>
> While 'cabal configure; cabal build; cabal haddock' fails with:
>
>> cabal: can't find source for module Paths_Xxx
>
> Can I have the best of both, i.e. generate docs without problems and use the
> generated module?
>
> Thanks,
>
> Martijn.
> _______________________________________________
> Haskell-Cafe mailing list
> [email protected]
> http://www.haskell.org/mailman/listinfo/haskell-cafe
>
_______________________________________________
Haskell-Cafe mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/haskell-cafe

Reply via email to