RE: Default prefix for Cabal on Windows

On 16 June 2005 09:08, Axel Simon wrote:
On Wed, 2005-06-15 at 20:56 -0700, Daan Leijen wrote:
I think that "c:\Program Files" is already too cluttered, maybe we should use:
1) C:\Program Files\Haskell\<package-name>-<version>
or
2) C:\Haskell\<package-name>-<version>
where "Haskell" could also be "Packages" I guess.
I strongly reject Daan's point :-). The prefix should come from the registry, since that is the Windows way. "C:\Program Files" doesn't even exists on foreign-language Windows machines. And programs which assume they know that C: is the right (i.e. only) hard disk are a pain, since you can do a network install where only Registry entries are local.
Ok, so $(ProgramFiles) is determined by the registry. Taking into account comments so far, I think we have: prefix = $(ProgramFiles)\Haskell\$(PackageName)-$(Version) libdir = $(prefix)\$(Compiler)-$(Version) bindir = $(prefix)\bin these are only defaults - users & packagers are free to change them. Sound reasonable? Cheers, Simon

Simon Marlow wrote:
Ok, so $(ProgramFiles) is determined by the registry. Taking into account comments so far, I think we have:
prefix = $(ProgramFiles)\Haskell\$(PackageName)-$(Version) libdir = $(prefix)\$(Compiler)-$(Version) bindir = $(prefix)\bin
these are only defaults - users & packagers are free to change them.
Sound reasonable?
Sounds fine to me. -- Daan
Cheers, Simon _______________________________________________ Libraries mailing list Libraries@haskell.org http://www.haskell.org/mailman/listinfo/libraries
participants (2)
-
Daan Leijen
-
Simon Marlow