Haddock's resource directory isn't properly handled by Hadrian
I'm still investigating, but several things look off about how Hadrian handles Haddock's resources (which are in utils/haddock/haddock-api/resource).
- only the
htmlfolder is being copied, which means that there is no wayhaddock --latexwill work - the resources (both
htmlandlatex) should probably be specified asruntimeDependenciesof theHaddockbuilder instead of woven into the doc rules - the Haddock wrapper in the
BinaryDistrules specifies the wrong--libdir (we currently put Haddock's resources in thedocfolder, not thelibfolder as we do for the Make system)
Trac metadata
| Trac field | Value |
|---|---|
| Version | 8.6.3 |
| Type | Bug |
| TypeOfFailure | OtherFailure |
| Priority | normal |
| Resolution | Unresolved |
| Component | Build System (Hadrian) |
| Test case | |
| Differential revisions | |
| BlockedBy | |
| Related | |
| Blocking | |
| CC | |
| Operating system | |
| Architecture |