Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Glasgow Haskell Compiler
Packages
Cabal
Commits
4af1407e
Commit
4af1407e
authored
Sep 29, 2014
by
Mikhail Glushenkov
Browse files
Make the default doc index file path compiler/arch/os-dependent.
Fixes #2135.
parent
a256fb18
Changes
1
Hide whitespace changes
Inline
Side-by-side
cabal-install/Distribution/Client/Setup.hs
View file @
4af1407e
...
...
@@ -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
->
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment