[Lazarus] Documentation update (CHM building, lazutils)

Hans-Peter Diettrich DrDiettrich1 at aol.com
Fri Dec 30 13:52:34 CET 2011


Marco van de Voort schrieb:

> lazutils is now a separate package, and lcl references the new lazutils
> package. Everything is done and committed, in theory generating CHMs is a
> matter of installing dependencies, and then 
> 
> running fixdocs.sh in the fpcdocs repo 
> 
> and then running build_html_chm.sh in lazarus/docs/html

These scripts may be nice, but are not very useful for Window users. 
That's why my documentation manager tries to import LPK files, and now I 
ran into a problem with the new LazUtils.lpk:

How can "$(IDEBuildOptions)" be evaluated in code?
This macro seems to specify compiler options (-Fi, -Fu...), which also 
are required by the fpdoc source parser.

For the RTL and FCL documentation the fpcdocs Makefile can be used on 
every platform, to produce the fully expanded fpdoc and makeskel 
commandlines, which can be redirected into an file and parsed by the 
docmgr. But how get the actual commandlines or compiler options for 
Lazarus packages?

DoDi





More information about the Lazarus mailing list