aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--INSTALL15
1 files changed, 15 insertions, 0 deletions
diff --git a/INSTALL b/INSTALL
index bdf464aae..a07647900 100644
--- a/INSTALL
+++ b/INSTALL
@@ -146,6 +146,21 @@ but are documented here for packagers and developers:
which must be created by building Pandoc on a Windows machine).
* `website`: Creates Pandoc's website in `web/pandoc` directory.
+Installing pandoc using Cabal
+=============================
+
+Pandoc can also be installed using the standard Haskell packaging tool,
+[Cabal](http://www.haskell.org/cabal/). You'll need GHC 6.6 or greater
+(see [Installing GHC](#installing-ghc), above). Just download the source
+tarball, unpack, and type:
+
+ runhaskell Setup.hs configure
+ runhaskell Setup.hs build
+ runhaskell Setup.hs install # this one as root
+
+This will install the pandoc executable and the Haskell libraries,
+but not the shell scripts, man pages, or other documentation.
+
Installing pandoc using MacPorts
================================