Commit b3a0e6da authored by Mikhail Glushenkov's avatar Mikhail Glushenkov
Browse files

Merge pull request #2136 from 23Skidoo/issue-2135

Make the default doc index file path compiler/arch/os-dependent.
parents 00ec0986 4af1407e
...@@ -1011,7 +1011,8 @@ defaultInstallFlags = InstallFlags { ...@@ -1011,7 +1011,8 @@ defaultInstallFlags = InstallFlags {
installRunTests = mempty installRunTests = mempty
} }
where where
docIndexFile = toPathTemplate ("$datadir" </> "doc" </> "index.html") docIndexFile = toPathTemplate ("$datadir" </> "doc"
</> "$arch-$os-$compiler" </> "index.html")
allowNewerParser :: ReadE AllowNewer allowNewerParser :: ReadE AllowNewer
allowNewerParser = ReadE $ \s -> allowNewerParser = ReadE $ \s ->
......
Supports Markdown
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