
#270: Build executables that can be run "in-place"
----------------------------+-----------------------------------------------
Reporter: waern | Owner:
Type: defect | Status: closed
Priority: normal | Milestone:
Component: Cabal library | Version: 1.2.3.0
Severity: normal | Resolution: fixed
Keywords: | Difficulty: easy (<4 hours)
Ghcversion: 6.8.2 | Platform:
----------------------------+-----------------------------------------------
Changes (by duncan):
* status: new => closed
* resolution: => fixed
Comment:
This is now done. However as the last patch notes it's not all that
convenient yet. You'd have to invoke the program like:
{{{
$ foo_datadir="." dist/build/foo/foo
}}}
And if the program looked at its bindir, libdir or libexecdir then those
would need to be specified too. Someone could add a feature to cabal
/cabal-install to launch the program or or ghci/hugs with the right env
vars.
{{{
Sun Apr 13 14:41:55 BST 2008 Johan Tibell