Hadrian: handle Haddock's resource directory