On Sat, Dec 09, 2006 at 06:16:52AM +0200, Kari Pahula wrote:
> What would be a good place to install cabal-generated register.sh and
> unregister.sh files?  /usr/share/$PACKAGE/ would seem like a safe
> choice, but it seems kind of wasteful.
> 
> Would using /usr/share/ghc-6.6/cabal/$PACKAGE/ sound like a good dir
> to use?  Would that path conflict with anything?

I use

    /usr/lib/$PACKAGE/(un)register.sh

Currently the package files go into /usr/lib/$CABAL_PACKAGE_VERSION/,
but they should probably move to /usr/lib/$PACKAGE/ too; then it
wouldn't be so wasteful (IIUC what you mean).

It might be better to use

    /usr/lib/haskell/$CABAL_PACKAGE_VERSION

or something instead, though?

/usr/share wouldn't be right as the build-depends can vary by arch/os; a
build-dep on unix or Win32 is the most obvious one, although this
doesn't affect Debian systems yet.


Thanks
Ian


_______________________________________________
debian-haskell mailing list
[email protected]
http://urchin.earth.li/mailman/listinfo/debian-haskell

Reply via email to