The ghc release archive contains more documentation than is installed per default. It's weird, really. Basically, you need to create more build.mk files which contain the line SGMLDocWays := html ..., and then "make html" will install *lots* more. Including reference documentation for all the Haskell libraries, etc. When I configure ghc for manual builds, I use the following shell script (snippet): DOCDIRS="alex ghc haddock happy hslibs libraries" for n in ${DOCDIRS}; do echo >$n/mk/build.mk "SGMLDocWays := html" done echo >mk/build.mk "SGMLDocWays := html" echo >>mk/build.mk "SRC_CC_OPTS+=-fno-pic -fno-stack-protector" echo >>mk/build.mk "SRC_HC_OPTS+=-optc-fno-pic -optc-fno-stack-protector" The subdirectories alex, happy, haddock do not apply for the standard distribution, these are just in the CVS version, though. Anyway, perhaps it would be a good idea to add this to the ebuild? It shouldn't even add new dependencies. Reproducible: Always Steps to Reproduce:
*** Bug 54229 has been marked as a duplicate of this bug. ***
As far as I can see, the ghc ebuilds do this, and have done so for a long time. Am I missing something? ks
Uh ... now I'm confused, too. As far as I can see, the "SGMLDocWays" directive is added to $TOP/mk/build.mk, but not to the $TOP/{ghc,libraries,...}/mk/build.mk files in the subdirectories. But apparently this has stopped being a problem in the GHC later versions, because obviously the documentation is there! Well, I dunno, it's probably best to close the PR. I should have checked the installed docs -- instead of just looking at the ebuild. Sorry!