<html><head><meta name="qrichtext" content="1" /></head><body style="font-size:10pt;font-family:Monospace">
<p>Hello</p>
<p></p>
<p>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.</p>
<p></p>
<p>1. I'm irritated by the fact, that calling the Cabal with &quot;runhaskell configure; runhaskell build; runhaskell install&quot; is _not_ sufficent in many cases. You need additional arguments for &quot;runhaskell configure&quot;, and &quot;runhaskell build&quot; 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 &quot;runhaskell build&quot;.</p>
<p></p>
<p>I'm about to include this Makefile:</p>
<p></p>
<p>-----snip------</p>
<p>default :: build</p>
<p></p>
<p>configure ::</p>
<p>        runhaskell Setup.lhs configure --ghc --prefix=/tmp</p>
<p></p>
<p>build :: </p>
<p>        runhaskell Setup.lhs build</p>
<p>        runhaskell Setup.lhs haddock</p>
<p></p>
<p>install ::</p>
<p>        runhaskell Setup.lhs install</p>
<p>-----snip------</p>
<p></p>
<p>This would make the installation a matter of &quot;make configure; make; make install&quot;.</p>
<p></p>
<p>Is this the way it should be done?</p>
<p></p>
<p></p>
<p>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.</p>
<p></p>
<p>I have no clue how this should be done.</p>
<p></p>
<p></p>
<p>Cheers, Volker</p>
</body></html>