diff options
author | David Waern <david.waern@gmail.com> | 2010-05-15 17:16:53 +0000 |
---|---|---|
committer | David Waern <david.waern@gmail.com> | 2010-05-15 17:16:53 +0000 |
commit | 911e3dab9ab48da39414d85567e7e0f1fa32bd69 (patch) | |
tree | 3c33a2fe6e7566ac0c134d85e40da646477ce21c | |
parent | 5cccdc672acb099672f8faaca0036f2473c13a77 (diff) |
Document --no-tmp-comp-dir
-rw-r--r-- | doc/haddock.xml | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/doc/haddock.xml b/doc/haddock.xml index f84be244..bfa02155 100644 --- a/doc/haddock.xml +++ b/doc/haddock.xml @@ -807,6 +807,23 @@ <varlistentry> <term> + <indexterm><primary><option>--no-tmp-comp-dir</option></primary></indexterm> + <option>--no-tmp-comp-dir</option> + </term> + <listitem> + <para>If the input modules use Template Haskell, Haddock has to + perform compilation (using GHC). This results in .o, .hi, and stub files that + are written to a temporary directory by default. When this flag is specified, + however, the files are written to the present directory (or another path if you + tell GHC, for example like this: <literal>--optghc=-odir --optghc=path</literal>). + Note that not only will files be written to this directory, GHC will also look for + already existing files there, and use them in order to skip compilation. + </para> + </listitem> + </varlistentry> + + <varlistentry> + <term> <indexterm><primary><option>-w</option></primary></indexterm> <option>-w</option> </term> |