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
e994c21a
Commit
e994c21a
authored
Jun 13, 2004
by
ijones
Browse files
cleaned up TODO added note RE install target
parent
f976a293
Changes
2
Hide whitespace changes
Inline
Side-by-side
Distribution/Simple/Install.hs
View file @
e994c21a
...
...
@@ -72,7 +72,9 @@ install buildPref pkg_descr lbi install_prefixM = do
let
pref
=
(
maybe
(
prefix
lbi
)
id
install_prefixM
)
++
pathSeperatorStr
++
"lib"
++
pathSeperatorStr
++
(
showPackageId
$
package
pkg_descr
)
setupMessage
"Installing"
pkg_descr
-- FIX: For hugs only
moveSources
""
pref
(
allModules
pkg_descr
)
(
mainModules
pkg_descr
)
[
"lhs"
,
"hs"
]
-- FIX: for GHC and NHC only
moveSources
buildPref
pref
(
allModules
pkg_descr
)
(
mainModules
pkg_descr
)
[
"hi"
]
moveSources
buildPref
pref
(
allModules
pkg_descr
)
(
mainModules
pkg_descr
)
[
"o"
]
system
$
"cp "
++
mkLibName
buildPref
(
showPackageId
(
package
pkg_descr
))
...
...
Distribution/TODO
View file @
e994c21a
*
euroHaskell
*
misc
** setup test suite to run on --push?
** Possibly create a (native?) zib library?
** port code to windows
...
...
@@ -6,11 +6,13 @@
** ./Setup.lhs build for nhc
** nhc-pkg (see old package manager code)
** hugs-pkg
** make -Wall clean
** better command-line parsing interface
** ./Setup.lhs bdist
* Code
** FIX: install currently moves .hs, .hi, and .o files for any target.
make it do the right thing for hugs (just move .hs) and {g,n}hc
(move .hi and .o)
** Write top-level Setup test cases (like "make check" under the test directory)
** Extensions -> flags interface
...
...
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