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
b3a0e6da
Commit
b3a0e6da
authored
Oct 21, 2014
by
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
Changes
1
Hide whitespace changes
Inline
Side-by-side
cabal-install/Distribution/Client/Setup.hs
View file @
b3a0e6da
...
...
@@ -1011,7 +1011,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