
Peter Simons wrote:
Linux x86, I configure my build with the script:
| #! /bin/sh -- | | GHC="ghc-6.2.2" | SUBDIRS="alex ghc haddock happy hslibs libraries" | | for n in ${SUBDIRS} .; do | echo >$n/mk/build.mk "XMLDocWays := html" | done | | autoreconf -i | ./configure --prefix=/usr/local/ghc-current \ | --enable-src-tree-happy \ | --enable-src-tree-haddock \ | --enable-src-tree-alex \ | --with-ghc="${GHC}" \ | --with-hc="${GHC}" \ | --enable-hopengl \ | --disable-openal \ | ; [...]
Just a small note here: Simply using make XMLDocWays=html should build everything recursively, including the HTML docs, without any need for a build.mk. Cheers, S.