GNOME Bugzilla – Bug 533262
no-template mode scans different source files
Last modified: 2008-06-06 10:27:01 UTC
I switched my gtkdocize to no-template mode and suddenly the documentation being scanned changes. Functions which were previously ignored (as they are not public) are being scanned, section headers are being ignored, and more. By comparing the two makefiles I see this difference: -- gtk-doc.make 2008-03-19 21:32:18.000000000 +0000 +++ gtk-doc.notmpl.make 2008-03-19 21:32:18.000000000 +0000 -sgml-build.stamp: tmpl.stamp $(HFILE_GLOB) $(CFILE_GLOB) $(DOC_MODULE)-sections.txt $(srcdir)/tmpl/*.sgml $(expand_content_files) +sgml-build.stamp: $(DOC_MODULE)-decl.txt $(SCANOBJ_FILES) $(DOC_MODULE)-sections.txt $(DOC_MODULE)-overrides.txt $(expand_content_files) That difference looks wrong to me.
right, $(HFILE_GLOB) $(CFILE_GLOB) is missing. in the notmpl it should be: sgml-build.stamp: $(DOC_MODULE)-decl.txt $(SCANOBJ_FILES) $(DOC_MODULE)-sections.txt $(DOC_MODULE)-overrides.txt $(HFILE_GLOB) $(CFILE_GLOB) $(expand_content_files) I will try this as soon as possible. would be great if you coudl too and confirm if it fixes the problem.
Sure, shout when its in svn and I'll give it a go.
Ross, could you recheck?
Much better, the only difference between tmpl-docs and no-tmpl-docs is now empty paragraphs in the tmpl-docs (which is a good difference).