| Summary: | dev-lang/ghc documentation | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | Peter Simons <simons> |
| Component: | New packages | Assignee: | Gentoo Linux bug wranglers <bug-wranglers> |
| Status: | RESOLVED DUPLICATE | ||
| Severity: | enhancement | ||
| Priority: | High | ||
| Version: | unspecified | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
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: