Skip to content

Hadrian: handle Haddock's resource directory

Alec Theriault requested to merge harpocrates/ghc:haddock-resources into master

Fixes #16105 (closed)

  • Require Haddock's resource as runtime dependencies of the Haddock builder. This means we no longer have to need particular resources in every other documentation rule.

  • Do a tracked copy of both the 'html' and 'latex' folder resource folders.

  • Move resources into stage1/lib (NB: the haddock binary goes in stage1/bin). Besides now actually matching the Haddock script wrapper generated by BinaryDist, this also prepares for Haddock in relocatable build folder detecting its own resources.

Edited by Alec Theriault

Merge request reports