(Imported from Trac #293, reported by avatar on 2008-06-12)
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.
(Imported comment by guest on 2008-06-12)
the hooks-route could be made less bad if cabal provided generic file-installation functions that allowed Cabal to track, at least, what files were installed...
Closing as there's been no activity in years.
We're cleaning up the bug tracker to make it useful again and are thus closing bugs that haven't seen any activity in a long time. Please re-open (or file a new bug) if the problem reappears.