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
c2c5d36b
Commit
c2c5d36b
authored
Aug 14, 2016
by
Edward Z. Yang
Committed by
GitHub
Aug 14, 2016
Browse files
Merge pull request #3683 from ezyang/pr/builddir
Fix preprocessors to put output in correct directory.
parents
858981e7
efac2de0
Changes
1
Hide whitespace changes
Inline
Side-by-side
Cabal/Distribution/Simple/PreProcess.hs
View file @
c2c5d36b
...
...
@@ -149,7 +149,7 @@ preprocessComponent pd comp lbi clbi isSrcDist verbosity handlers = case comp of
,
autogenPackageModulesDir
lbi
]
setupMessage
verbosity
"Preprocessing library"
(
packageId
pd
)
for_
(
map
ModuleName
.
toFilePath
$
libModules
lib
)
$
pre
dirs
(
b
uildDir
lbi
)
(
localHandlers
bi
)
pre
dirs
(
componentB
uildDir
lbi
clbi
)
(
localHandlers
bi
)
(
CExe
exe
@
Executable
{
buildInfo
=
bi
,
exeName
=
nm
})
->
do
let
exeDir
=
buildDir
lbi
</>
nm
</>
nm
++
"-tmp"
dirs
=
hsSourceDirs
bi
++
[
autogenComponentModulesDir
lbi
clbi
...
...
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