[Hackage] #293: allow installation of non-haskell or haskell script
executables
Hackage
trac at galois.com
Thu Jun 12 09:44:49 EDT 2008
#293: allow installation of non-haskell or haskell script executables
----------------------------+-----------------------------------------------
Reporter: guest | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone:
Component: Cabal library | Version: 1.2.3.0
Severity: normal | Keywords:
Difficulty: normal | Ghcversion: 6.8.2
Platform: |
----------------------------+-----------------------------------------------
Sometimes it is desirable to include an auxiliary executable, which is not
written in haskell or is written in haskell, but better not be compiled
and run as a script instead. Currently cabal doesn't offer any way to
install such executables into $bindir. I suggest adding an {{{extra-bin-
files}}} property that should be treated similar to {{{data-files}}}, but
install into $bindir and take care of correct permissions.
The way through the hooks is unsatisfactory, because the hooks allow no
way of telling cabal what they have done. This is going to be a problem,
when cabal starts tracking all the installed files for uninstall purposes.
See also
[http://thread.gmane.org/gmane.comp.lang.haskell.libraries/9227]
--
Ticket URL: <http://hackage.haskell.org/trac/hackage/ticket/293>
Hackage <http://haskell.org/cabal/>
Hackage: Cabal and related projects
More information about the cabal-devel
mailing list