Hello
I'm new to Cabal, and I'm trying to Cabalize my library HsShellScript, with
help by Howard Golden. I'm using the Simple Build Infrastructure.
1. I'm irritated by the fact, that calling the Cabal with "runhaskell
configure; runhaskell build; runhaskell install" is _not_ sufficent in many
cases. You need additional arguments for "runhaskell configure", and
"runhaskell build" can't build everything, you need other actions in many
cases. I need haddock, and it can't be specified in the .cabal file, or run by
"runhaskell build".
I'm about to include this Makefile:
-----snip------
default :: build
configure ::
runhaskell Setup.lhs configure --ghc --prefix=/tmp
build ::
runhaskell Setup.lhs build
runhaskell Setup.lhs haddock
install ::
runhaskell Setup.lhs install
-----snip------
This would make the installation a matter of "make configure; make; make
install".
Is this the way it should be done?
2. I have some HTML pages of additional documentation, which need to be
installed, and need to be included in the (sdist) generated distribution
package.
I have no clue how this should be done.
Cheers, Volker
_______________________________________________
Glasgow-haskell-users mailing list
Glasgow-haskell-users@haskell.org
http://www.haskell.org/mailman/listinfo/glasgow-haskell-users