RE: Default prefix for Cabal on Windows

On 16 June 2005 16:23, Daan Leijen wrote:
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.
Slight modification after Brian's comments: if the package is an executable, then prefix = $(ProgramFiles)\$(PackageName)-$(Version) (i.e. only libraries on under $(ProgramFiles)\Haskell). Cheers, Simon

On Thu, Jun 16, 2005 at 04:46:18PM +0100, Simon Marlow wrote:
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.
Slight modification after Brian's comments: if the package is an executable, then
prefix = $(ProgramFiles)\$(PackageName)-$(Version)
(i.e. only libraries on under $(ProgramFiles)\Haskell).
The default value of $(prefix) under Unix recently silently changed from /usr/local to /usr/local/$(Compiler)-$(Version). I'm not sure that's the right thing: it's incompatible with the FHS and with autoconf, and puts executables in a place that's not on my path.
participants (2)
-
Ross Paterson
-
Simon Marlow