Building haddock when accessing data files from package code

Hugo Pacheco hpacheco at
Fri Nov 28 06:59:49 EST 2008

Hi all,
When creating a cabal package that contains module that import
Paths_<mybraryname> (as tutored in,
haddock complains that it cannot find such module, since it is generated
automatically by cabal:

$ runhaskell Setup.lhs haddock
Setup.lhs: can't find source for module Paths_GHood

How do I tell haddock to ignore such module?
Should this be handled in the Setup.lhs file? I am using the default Simple

Thanks in advance,

-------------- next part --------------
An HTML attachment was scrubbed...

More information about the Libraries mailing list