On 2008.05.17 21:54:53 +0200, Misha Aizatulin <[EMAIL PROTECTED]> scribbled 0.2K characters: > hello, > > the new version of haddock (2.0.0) needs a new option -B that tells it > the GHC lib directory. How do I find out the correct value for this option > in a makefile, so that the makefile stays portable? > > Cheers, > Misha
Maybe you could do something like call out to a shell and ask it to run 'ghc --print-libdir'? That for me prints to stdout a string like '/usr/lib64/ghc-6.8.2'. -- gwern Rivera Peering Intiso SAMF facsimile Submarine redheads AHPCRC DJC Sears
pgpPgoYydlwye.pgp
Description: PGP signature
_______________________________________________ Haskell-Cafe mailing list [email protected] http://www.haskell.org/mailman/listinfo/haskell-cafe
