summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDom Lachowicz <doml@src.gnome.org>2004-08-25 23:07:08 +0000
committerDom Lachowicz <doml@src.gnome.org>2004-08-25 23:07:08 +0000
commitb6433fc8ce2030f885b94668102b661aaa47d1df (patch)
tree38ed3115324c190bf5a5b2a1149d9d83668e98f7
parent489d095868d191a628ddf4de7c179cc1c85303bb (diff)
downloadlibrsvg-b6433fc8ce2030f885b94668102b661aaa47d1df.tar.gz
bug 151051
-rw-r--r--doc/Makefile.am8
-rw-r--r--doc/rsvg-docs.sgml22
2 files changed, 15 insertions, 15 deletions
diff --git a/doc/Makefile.am b/doc/Makefile.am
index c6c0bcb5..e61d8edc 100644
--- a/doc/Makefile.am
+++ b/doc/Makefile.am
@@ -18,7 +18,7 @@ SCANGOBJ_OPTIONS=--type-init-func="g_type_init ()"
SCAN_OPTIONS=
# Extra options to supply to gtkdoc-mkdb
-MKDB_OPTIONS=--sgml-mode
+MKDB_OPTIONS = --sgml-mode --output-format=xml --ignore-files=trio
# Extra options to supply to gtkdoc-fixref
FIXXREF_OPTIONS=
@@ -121,12 +121,12 @@ tmpl-build.stamp: $(DOC_MODULE)-decl.txt $(SCANOBJ_FILES) $(DOC_MODULE)-sections
tmpl.stamp: tmpl-build.stamp
@true
-#### sgml ####
+#### xml ####
sgml-build.stamp: tmpl.stamp $(CFILE_GLOB) $(srcdir)/tmpl/*.sgml
- @echo '*** Building SGML ***'
+ @echo '*** Building XML ***'
cd $(srcdir) && \
- gtkdoc-mkdb --module=$(DOC_MODULE) --source-dir=$(DOC_SOURCE_DIR) $(MKDB_OPTIONS)
+ gtkdoc-mkdb --module=$(DOC_MODULE) --source-dir=$(DOC_SOURCE_DIR) --output-format=xml $(MKDB_OPTIONS)
touch sgml-build.stamp
sgml.stamp: sgml-build.stamp
diff --git a/doc/rsvg-docs.sgml b/doc/rsvg-docs.sgml
index 3758dab4..438725c1 100644
--- a/doc/rsvg-docs.sgml
+++ b/doc/rsvg-docs.sgml
@@ -1,14 +1,14 @@
-<!doctype book PUBLIC "-//OASIS//DTD DocBook V3.1//EN" [
-<!notation PNG system "PNG">
-<!entity % local.notation.class "| PNG">
-
-<!entity hash "#">
-<!entity percent "%">
-<!entity RSVG SYSTEM "sgml/rsvg.sgml">
-<!entity SVGZ SYSTEM "sgml/rsvg-gz.sgml">
-<!entity Utilities SYSTEM "sgml/rsvg-file-util.sgml">
-<!entity ObjectIndex SYSTEM "sgml/object_index.sgml">
-<!entity TreeIndex SYSTEM "sgml/tree_index.sgml">
+<?xml version="1.0"?>
+<!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook XML V4.1.2//EN"
+ "http://www.oasis-open.org/docbook/xml/4.1.2/docbookx.dtd" [
+<!NOTATION PNG SYSTEM "PNG">
+<!ENTITY hash "#">
+<!ENTITY % local.notation.class "| PNG">
+<!ENTITY RSVG SYSTEM "xml/rsvg.xml">
+<!ENTITY SVGZ SYSTEM "xml/rsvg-gz.xml">
+<!ENTITY Utilities SYSTEM "xml/rsvg-file-util.xml">
+<!ENTITY ObjectIndex SYSTEM "xml/object_index.sgml">
+<!ENTITY TreeIndex SYSTEM "xml/tree_index.sgml">
]>
<book id="index">