Skip to content
Snippets Groups Projects
Commit dff08691 authored by Cheng Shao's avatar Cheng Shao
Browse files

hadrian: enable building docs for cross targets

Hadrian used to omit the docs target as a part of binary-dist-dir for
cross targets. This commit enables docs to be built as a part of cross
bindists and it works just fine in CI.

(cherry picked from commit a794e733)
parent dc698595
No related branches found
No related tags found
No related merge requests found
...@@ -159,7 +159,7 @@ bindistRules = do ...@@ -159,7 +159,7 @@ bindistRules = do
let lib_exe_targets = (lib_targets ++ (map (\(_, p) -> p) (bin_targets ++ iserv_targets))) let lib_exe_targets = (lib_targets ++ (map (\(_, p) -> p) (bin_targets ++ iserv_targets)))
let doc_target = if cross then [] else ["docs"] let doc_target = ["docs"]
let other_targets = map (bindistFilesDir -/-) (["configure", "Makefile"] ++ bindistInstallFiles) let other_targets = map (bindistFilesDir -/-) (["configure", "Makefile"] ++ bindistInstallFiles)
let all_targets = lib_exe_targets ++ doc_target ++ other_targets let all_targets = lib_exe_targets ++ doc_target ++ other_targets
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment