aboutsummaryrefslogtreecommitdiff
path: root/doc/README.md
diff options
context:
space:
mode:
authoridontgetoutmuch <dominic@steinitz.org>2015-12-20 21:01:47 +0000
committeridontgetoutmuch <dominic@steinitz.org>2015-12-20 21:01:47 +0000
commit2bdfda1fb2e0de696ca8c6f7a152b2f85a541be9 (patch)
treecc29895f7d69f051cfec172bb0f8c2ef03552789 /doc/README.md
parent5a57a24c44e06e964c4ea2276c842c722c4e93d9 (diff)
parentfa03f80d76f1511a811a0209ea7a6a8b6c58704f (diff)
Merge pull request #1 from haskell/ghc-head
Ghc head
Diffstat (limited to 'doc/README.md')
-rw-r--r--doc/README.md25
1 files changed, 25 insertions, 0 deletions
diff --git a/doc/README.md b/doc/README.md
new file mode 100644
index 00000000..cf1fc31b
--- /dev/null
+++ b/doc/README.md
@@ -0,0 +1,25 @@
+# Haddock documentation
+
+The documentation is in DocBook XML format. You need some tools to
+process it: at least xsltproc, and the DocBook XML DTD and XSL
+stylesheets. There's a configure script to detect the right way to
+process the documentation on your system, and a Makefile to actually
+do the processing (so, on Windows, you'll need Cygwin or MSys in
+addition to the DocBook XML tools). To build the HTML documentation:
+
+ $ autoconf
+ $ ./configure
+ $ make html
+
+which leaves the HTML documentation in a haddock/ subdirectory.
+
+Printable documentation can also be produced, eg.:
+
+ $ make pdf
+
+or
+
+ $ make ps
+
+Generating the printed formats requires more tools (fop or xmltex) and
+tends to be a bit harder.