与普通makefile或其它构建系统整合
In the case one does not want to use automake and therefore gtk-doc.mak one will need to call the gtkdoc tools in the right order in own makefiles (or other build tools).
Example 2-7 文档构建步骤
DOC_MODULE=meep // sources have changed gtkdoc-scan --module=$(DOC_MODULE) --source-dir=... gtkdoc-scangobj --module=$(DOC_MODULE) gtkdoc-mkdb --module=$(DOC_MODULE) --output-format=xml // xml files have changed mkdir html cd html && gtkdoc-mkhtml $(DOC_MODULE) ../meep-docs.xml gtkdoc-fixxref --module=$(DOC_MODULE) --module-dir=html
您必须查阅Makefile.am 和 gtk-doc.mak以获取所须的额外选项。