Build xhtml and haddock only when `HADDOCK_DOCS=YES`

Authored by nomeata.

Description

Build xhtml and haddock only when HADDOCK_DOCS=YES

This fixes Trac #8558

Details

Committed
nomeataNov 18 2014, 3:44 AM
Parents
rGHCb9096df6a973: Add a note why tcGetInstEnvs is duplicated.
Branches
Unknown
Tags
Unknown