Commit 4af1407e authored by Mikhail Glushenkov's avatar Mikhail Glushenkov
Browse files

Make the default doc index file path compiler/arch/os-dependent.

Fixes #2135.
parent a256fb18
......@@ -1010,7 +1010,8 @@ defaultInstallFlags = InstallFlags {
installRunTests = mempty
}
where
docIndexFile = toPathTemplate ("$datadir" </> "doc" </> "index.html")
docIndexFile = toPathTemplate ("$datadir" </> "doc"
</> "$arch-$os-$compiler" </> "index.html")
allowNewerParser :: ReadE AllowNewer
allowNewerParser = ReadE $ \s ->
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment