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
html
folder is being copied, which means that there is no wayhaddock --latex
will work - the resources (both
html
andlatex
) should probably be specified asruntimeDependencies
of theHaddock
builder instead of woven into the doc rules - the Haddock wrapper in the
BinaryDist
rules specifies the wrong--lib
dir (we currently put Haddock's resources in thedoc
folder, not thelib
folder 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 |