... | ... | @@ -28,12 +28,9 @@ If you're on a recent Linux system, then you should be able to get a working bui |
|
|
- ghc
|
|
|
- happy
|
|
|
- alex
|
|
|
- haddock
|
|
|
|
|
|
**Note:** currently you'll also need to install an older version of [ Haddock](http://www.haskell.org/haddock) (0.9) manually, because the version of Haddock you'll get by default is 2.0.0.0 which doesn't work with GHC's build system yet.
|
|
|
|
|
|
|
|
|
To be able to build the documentation (User's Guide):
|
|
|
To be able to build the documentation (User's Guide and Cabal guide):
|
|
|
|
|
|
- docbook-utils
|
|
|
- docbook-utils-pdf
|
... | ... | @@ -82,6 +79,26 @@ PATH=/c/mingw/bin:/c/ghc/ghc-6.10.1/bin:/usr/bin:/bin:/c/tools:/c/Python26:/c/wi |
|
|
|
|
|
Modify the above according to where you installed things, and change the GHC version appropriately.
|
|
|
|
|
|
### Building documentation on Windows
|
|
|
|
|
|
|
|
|
Documentation is optional, but in order to build it in Windows you must currently use Cygwin (there isn't a working DocBook toolchain on MSYS as far as we know).
|
|
|
|
|
|
|
|
|
In the Cygwin installer, just install the complete `Doc` category. You
|
|
|
may have to help `configure` a little bit: Set the
|
|
|
environment variables `XmllintCmd` and
|
|
|
`XsltprocCmd` to the paths of the Cygwin executables
|
|
|
`xmllint` and `xsltproc`,
|
|
|
respectively, and set `fp_cv_dir_docbook_xsl` to the path
|
|
|
of the directory where the XSL stylesheets are installed,
|
|
|
e.g. `c:/cygwin/usr/share/docbook-xsl`.
|
|
|
|
|
|
|
|
|
If you want to build HTML Help, you have to install the
|
|
|
[ HTML Help SDK](http://msdn.microsoft.com/library/default.asp?url=/library/en-us/htmlhelp/html/hworiHTMLHelpStartPage.asp),
|
|
|
too, and make sure that `hhc` is in your `PATH`.
|
|
|
|
|
|
## Preparing a MacOS X system
|
|
|
|
|
|
|
... | ... | |