Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 54229 - dev-lang/ghc documentation
Summary: dev-lang/ghc documentation
Status: RESOLVED DUPLICATE of bug 54227
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-06-17 14:33 UTC by Peter Simons
Modified: 2005-07-17 13:06 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Peter Simons 2004-06-17 14:33:55 UTC
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:
Comment 1 Sven Wegener gentoo-dev 2004-06-17 14:41:05 UTC

*** This bug has been marked as a duplicate of 54227 ***