17 May 23:00
Re: Calling haddock in a portable way
From: Gwern Branwen <gwern0 <at> gmail.com>
Subject: Re: Calling haddock in a portable way
Newsgroups: gmane.comp.lang.haskell.cafe
Date: 2008-05-17 21:00:27 GMT
Subject: Re: Calling haddock in a portable way
Newsgroups: gmane.comp.lang.haskell.cafe
Date: 2008-05-17 21:00:27 GMT
On 2008.05.17 21:54:53 +0200, Misha Aizatulin <avatar <at> hot.ee> 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
_______________________________________________ Haskell-Cafe mailing list Haskell-Cafe <at> haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe
RSS Feed