Commit 8b37d7ee authored by Stefan Kost's avatar Stefan Kost

gtk-doc/: As our docs are versioned, we need to patch the index.sgml file to...

gtk-doc/: As our docs are versioned, we need to patch the index.sgml file to have correct paths there, unless we also...

Original commit message from CVS:
* gtk-doc-plugins.mak:
* gtk-doc.mak:
As our docs are versioned, we need to patch the index.sgml file to have
correct paths there, unless we also want to fork gtk-doc's xsl (which
we don't). This hopefully fixes xrefs between modules.
parent 3c547316
2008-02-06 Stefan Kost <ensonic@users.sf.net>
* gtk-doc-plugins.mak:
* gtk-doc.mak:
As our docs are versioned, we need to patch the index.sgml file to have
correct paths there, unless we also want to fork gtk-doc's xsl (which
we don't). This hopefully fixes xrefs between modules.
2008-02-02 Sebastian Dröge <slomo@circular-chaos.org>
* m4/gst-feature.m4:
......
......@@ -141,7 +141,7 @@ inspect-update: inspect
$(MAKE) inspect-build.stamp
# FIXME: inspect.stamp should be written to by gst-xmlinspect.py
# IFF the output changed; see gtkdoc-mktmpl
# IF the output changed; see gtkdoc-mktmpl
inspect-build.stamp:
@echo '*** Rebuilding plugin inspection files ***'
if test x"$(srcdir)" != x. ; then \
......@@ -233,6 +233,7 @@ html-build.stamp: sgml.stamp $(DOC_MAIN_SGML_FILE) $(content_files)
@if grep "warning:" html-build.log > /dev/null; then \
echo "ERROR"; grep "warning:" html-build.log; exit 1; fi
@rm html-build.log
sed -i "s/ href=\"$(DOC_MODULE)\// href=\"$(DOC_MODULE)-@GST_MAJORMINOR@\//g" html/index.sgml
rm -f html/$(DOC_MAIN_SGML_FILE)
rm -rf html/xml
rm -f html/version.entities
......
......@@ -108,7 +108,7 @@ tmpl.stamp: tmpl-build.stamp
#### xml ####
### FIXME: make this error out again when docs are fixed for 0.9
### FIXME: make this error out again when docs are complete
sgml-build.stamp: tmpl.stamp $(CFILE_GLOB)
@echo '*** Building XML ***'
gtkdoc-mkdb --module=$(DOC_MODULE) --source-dir=$(DOC_SOURCE_DIR) --main-sgml-file=$(srcdir)/$(DOC_MAIN_SGML_FILE) --output-format=xml $(MKDB_OPTIONS) | tee sgml-build.log
......@@ -130,6 +130,7 @@ html-build.stamp: sgml.stamp $(DOC_MAIN_SGML_FILE) $(content_files)
cp -pr xml html
cp ../version.entities html
cd html && gtkdoc-mkhtml $(DOC_MODULE) $(DOC_MAIN_SGML_FILE)
sed -i "s/ href=\"$(DOC_MODULE)\// href=\"$(DOC_MODULE)-@GST_MAJORMINOR@\//g" html/index.sgml
rm -f html/$(DOC_MAIN_SGML_FILE)
rm -rf html/xml
rm -f html/version.entities
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment