Skip to content

Hadrian: introduce ways to skip some documentation targets

Alp Mestanogullari requested to merge alp/ghc:wip/alp/hadrian-skip-docs into master

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.

Merge request reports