Hadrian: introduce ways to skip some documentation targets
authorAlp Mestanogullari <alpmestan@gmail.com>
Wed, 27 Feb 2019 16:23:48 +0000 (17:23 +0100)
committerMarge Bot <ben+marge-bot@smart-cactus.org>
Fri, 1 Mar 2019 21:38:15 +0000 (16:38 -0500)
commit8442103aa575dc1cd25cb3231e729c6365dc1b5c
tree534ea2e212270c21a25f29582dba88290a9981d1
parentf37efb11b957a21f3048f7005a234f96350ff938
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.
hadrian/doc/make.md
hadrian/doc/user-settings.md
hadrian/src/CommandLine.hs
hadrian/src/Flavour.hs
hadrian/src/Rules/Documentation.hs
hadrian/src/Settings/Default.hs