Hadrian: introduce ways to skip some documentation targets

Authored by alpmestan on Feb 27 2019, 10:23 AM.

Description

Hadrian: introduce ways to skip some documentation targets

The initial motivation for this is to have a chance to run the binary
distribution rules in our Windows CI without having to install
sphinx-build and xelatex there, while retaining the ability to
generate haddocks. I just ended up extending this idea a little bit so
as to have control over whether we build haddocks, (sphinx) HTML manuals,
(sphinx) PDF manuals and (sphinx) manpages.

(cherry picked from commit 8442103aa575dc1cd25cb3231e729c6365dc1b5c)

Details

Committed
bgamariApr 17 2019, 9:57 AM
Parents
rGHC2de84e65240e: Add werror function to Flavour.hs
Branches
Unknown
Tags
Unknown