For wrapper plugins we cannot know the details.xml (besides that there will be
many). Regardless we don't want to fail if there are no details (gtk-doc-1.12
handles this already). Also remove that fancy warning -> ERROR mapping from
makefile, we don't do that for normal docs either.
@for f in $(content_files); do cp $(srcdir)/$$f html; done
cp -pr xml html
cp ../version.entities html
- cd html && gtkdoc-mkhtml $(DOC_MODULE) $(DOC_MAIN_SGML_FILE) \
- 2>&1 | tee ../html-build.log
- @if grep "warning:" html-build.log > /dev/null; then \
- echo "ERROR"; grep "warning:" html-build.log; exit 1; fi
- @rm html-build.log
+ cd html && gtkdoc-mkhtml $(DOC_MODULE) $(DOC_MAIN_SGML_FILE)
mv html/index.sgml html/index.sgml.bak
$(SED) "s/ href=\"$(DOC_MODULE)\// href=\"$(DOC_MODULE)-@GST_MAJORMINOR@\//g" html/index.sgml.bak >html/index.sgml
rm -f html/index.sgml.bak
# put in an include if not yet there
line = '<include xmlns="http://www.w3.org/2003/XInclude" href="' + \
- 'element-' + element + '-details.xml" />\n'
+ 'element-' + element + '-details.xml">' + \
+ '<fallback xmlns="http://www.w3.org/2003/XInclude" />' + \
+ '</include>\n'
section = tmpl.get_section("Long_Description")
if not section[0] == line:
section.insert(0, line)