diff options
author | Gaetan Nadon <memsize@videotron.ca> | 2011-09-05 15:35:55 -0400 |
---|---|---|
committer | Gaetan Nadon <memsize@videotron.ca> | 2011-09-09 14:15:24 -0400 |
commit | 93f58fd482c58f669e37df1e415cfde06324b548 (patch) | |
tree | 36099d13b03a4499773318bf5b7652610b2f7439 /masterdb | |
parent | 2d3a9c663c99958de27827668fd63608b25433de (diff) |
masterdb: add olink support for chunked html
For olinks to chunked html, the masterdb cannot contain the baseuri
attribute. The xsl parameter olink.base.uri needs to be used in makefiles
for non chunked html while the chunked html does not use it.
The txt and ps documents cannot be an end point of olinks, so no target
dbs will be generated for those formats, hence no masterdb needed either.
Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
Diffstat (limited to 'masterdb')
-rw-r--r-- | masterdb/Makefile.am | 20 | ||||
-rw-r--r-- | masterdb/masterdb.xml | 124 |
2 files changed, 66 insertions, 78 deletions
diff --git a/masterdb/Makefile.am b/masterdb/Makefile.am index 4b8044d..fd571b0 100644 --- a/masterdb/Makefile.am +++ b/masterdb/Makefile.am @@ -2,29 +2,17 @@ master_PRE = masterdb.xml sgmldbs_DATA = \ $(master_PRE:xml=html.xml) \ - $(master_PRE:xml=pdf.xml) \ - $(master_PRE:xml=ps.xml) \ - $(master_PRE:xml=txt.xml) + $(master_PRE:xml=pdf.xml) EXTRA_DIST = $(master_PRE) CLEANFILES = $(sgmldbs_DATA) %.html.xml: %.xml - $(AM_V_GEN)$(SED) -e 's|__ext__|html|g' \ - -e 's|__db__|html|g' \ - -e 's|@datarootdir[@]|$(datarootdir)|g' < $< > $@ - -%.txt.xml: %.xml - $(AM_V_GEN)$(SED) -e 's|__ext__|txt|g' \ + $(AM_V_GEN)$(SED) \ -e 's|__db__|html|g' \ -e 's|@datarootdir[@]|$(datarootdir)|g' < $< > $@ %.pdf.xml: %.xml - $(AM_V_GEN)$(SED) -e 's|__ext__|pdf|g' \ - -e 's|__db__|fo|g' \ - -e 's|@datarootdir[@]|$(datarootdir)|g' < $< > $@ - -%.ps.xml: %.xml - $(AM_V_GEN)$(SED) -e 's|__ext__|ps|g' \ - -e 's|__db__|fo|g' \ + $(AM_V_GEN)$(SED) \ + -e 's|__db__|pdf|g' \ -e 's|@datarootdir[@]|$(datarootdir)|g' < $< > $@ diff --git a/masterdb/masterdb.xml b/masterdb/masterdb.xml index a3944dd..5f732b8 100644 --- a/masterdb/masterdb.xml +++ b/masterdb/masterdb.xml @@ -37,24 +37,24 @@ listed here. This allows crosslinking between documents. <dir name="doc"> <!-- Libraries --> <dir name="libICE"> - <document targetdoc="ICElib" baseuri="ICElib.__ext__"> + <document targetdoc="ICElib"> <xi:include href="@datarootdir@/doc/libICE/ICElib.__db__.db" xmlns:xi="http://www.w3.org/2001/XInclude"> <xi:fallback></xi:fallback> </xi:include> </document> - <document targetdoc="ice" baseuri="ice.__ext__"> + <document targetdoc="ice"> <xi:include href="@datarootdir@/doc/libICE/ice.__db__.db" xmlns:xi="http://www.w3.org/2001/XInclude"> <xi:fallback></xi:fallback> </xi:include> </document> </dir> <dir name="libSM"> - <document targetdoc="SMlib" baseuri="SMlib.__ext__"> + <document targetdoc="SMlib"> <xi:include href="@datarootdir@/doc/libSM/SMlib.__db__.db" xmlns:xi="http://www.w3.org/2001/XInclude"> <xi:fallback></xi:fallback> </xi:include> </document> - <document targetdoc="xsmp" baseuri="xsmp.__ext__"> + <document targetdoc="xsmp"> <xi:include href="@datarootdir@/doc/libSM/xsmp.__db__.db" xmlns:xi="http://www.w3.org/2001/XInclude"> <xi:fallback></xi:fallback> </xi:include> @@ -62,7 +62,7 @@ listed here. This allows crosslinking between documents. </dir> <dir name="libX11"> <dir name="libX11"> - <document targetdoc="libX11" baseuri="libX11.__ext__"> + <document targetdoc="libX11"> <xi:include href="@datarootdir@/doc/libX11/libX11/libX11.__db__.db" xmlns:xi="http://www.w3.org/2001/XInclude"> <xi:fallback></xi:fallback> </xi:include> @@ -70,28 +70,28 @@ listed here. This allows crosslinking between documents. </dir> <dir name="i18n"> <dir name="compose"> - <document targetdoc="libX11-keys" baseuri="libX11-keys.__ext__"> + <document targetdoc="libX11-keys"> <xi:include href="@datarootdir@/doc/libX11/i18n/compose/libX11-keys.__db__.db" xmlns:xi="http://www.w3.org/2001/XInclude"> <xi:fallback></xi:fallback> </xi:include> </document> </dir> <dir name="framework"> - <document targetdoc="framework" baseuri="framework.__ext__"> + <document targetdoc="framework"> <xi:include href="@datarootdir@/doc/libX11/i18n/framework/framework.__db__.db" xmlns:xi="http://www.w3.org/2001/XInclude"> <xi:fallback></xi:fallback> </xi:include> </document> </dir> <dir name="localedb"> - <document targetdoc="localedb" baseuri="localedb.__ext__"> + <document targetdoc="localedb"> <xi:include href="@datarootdir@/doc/libX11/i18n/localedb/localedb.__db__.db" xmlns:xi="http://www.w3.org/2001/XInclude"> <xi:fallback></xi:fallback> </xi:include> </document> </dir> <dir name="trans"> - <document targetdoc="trans" baseuri="trans.__ext__"> + <document targetdoc="trans"> <xi:include href="@datarootdir@/doc/libX11/i18n/trans/trans.__db__.db" xmlns:xi="http://www.w3.org/2001/XInclude"> <xi:fallback></xi:fallback> </xi:include> @@ -99,14 +99,14 @@ listed here. This allows crosslinking between documents. </dir> </dir> <dir name="XIM"> - <document targetdoc="xim" baseuri="xim.__ext__"> + <document targetdoc="xim"> <xi:include href="@datarootdir@/doc/libX11/XIM/xim.__db__.db" xmlns:xi="http://www.w3.org/2001/XInclude"> <xi:fallback></xi:fallback> </xi:include> </document> </dir> <dir name="XKB"> - <document targetdoc="xkblib" baseuri="xkblib.__ext__"> + <document targetdoc="xkblib"> <xi:include href="@datarootdir@/doc/libX11/XKB/xkblib.__db__.db" xmlns:xi="http://www.w3.org/2001/XInclude"> <xi:fallback></xi:fallback> </xi:include> @@ -114,74 +114,74 @@ listed here. This allows crosslinking between documents. </dir> </dir> <dir name="libXaw"> - <document targetdoc="libXaw" baseuri="libXaw.__ext__"> + <document targetdoc="libXaw"> <xi:include href="@datarootdir@/doc//libXaw/libXaw.__db__.db" xmlns:xi="http://www.w3.org/2001/XInclude"> <xi:fallback></xi:fallback> </xi:include> </document> </dir> <dir name="libXdmcp"> - <document targetdoc="xdmcp" baseuri="xdmcp.__ext__"> + <document targetdoc="xdmcp"> <xi:include href="@datarootdir@/doc//libXdmcp/xdmcp.__db__.db" xmlns:xi="http://www.w3.org/2001/XInclude"> <xi:fallback></xi:fallback> </xi:include> </document> </dir> <dir name="libXext"> - <document targetdoc="dbelib" baseuri="dbelib.__ext__"> + <document targetdoc="dbelib"> <xi:include href="@datarootdir@/doc/libXext/dbelib.__db__.db" xmlns:xi="http://www.w3.org/2001/XInclude"> <xi:fallback></xi:fallback> </xi:include> </document> - <document targetdoc="dpmslib" baseuri="dpmslib.__ext__"> + <document targetdoc="dpmslib"> <xi:include href="@datarootdir@/doc/libXext/dpmslib.__db__.db" xmlns:xi="http://www.w3.org/2001/XInclude"> <xi:fallback></xi:fallback> </xi:include> </document> - <document targetdoc="shapelib" baseuri="shapelib.__ext__"> + <document targetdoc="shapelib"> <xi:include href="@datarootdir@/doc/libXext/shapelib.__db__.db" xmlns:xi="http://www.w3.org/2001/XInclude"> <xi:fallback></xi:fallback> </xi:include> </document> - <document targetdoc="synclib" baseuri="synclib.__ext__"> + <document targetdoc="synclib"> <xi:include href="@datarootdir@/doc/libXext/synclib.__db__.db" xmlns:xi="http://www.w3.org/2001/XInclude"> <xi:fallback></xi:fallback> </xi:include> </document> - <document targetdoc="xtest1" baseuri="xtest1.__ext__"> + <document targetdoc="xtest1"> <xi:include href="@datarootdir@/doc/libXext/xtest1.__db__.db" xmlns:xi="http://www.w3.org/2001/XInclude"> <xi:fallback></xi:fallback> </xi:include> </document> </dir> <dir name="libXi"> - <document targetdoc="inputlib" baseuri="inputlib.__ext__"> + <document targetdoc="inputlib"> <xi:include href="@datarootdir@/doc/libXi/inputlib.__db__.db" xmlns:xi="http://www.w3.org/2001/XInclude"> <xi:fallback></xi:fallback> </xi:include> </document> </dir> <dir name="libXmu"> - <document targetdoc="Xmu" baseuri="Xmu.__ext__"> + <document targetdoc="Xmu"> <xi:include href="@datarootdir@/doc/libXmu/Xmu.__db__.db" xmlns:xi="http://www.w3.org/2001/XInclude"> <xi:fallback></xi:fallback> </xi:include> </document> </dir> <dir name="libXtst"> - <document targetdoc="recordlib" baseuri="recordlib.__ext__"> + <document targetdoc="recordlib"> <xi:include href="@datarootdir@/doc/libXtst/recordlib.__db__.db" xmlns:xi="http://www.w3.org/2001/XInclude"> <xi:fallback></xi:fallback> </xi:include> </document> - <document targetdoc="xtestlib" baseuri="xtestlib.__ext__"> + <document targetdoc="xtestlib"> <xi:include href="@datarootdir@/doc/libXtst/xtestlib.__db__.db" xmlns:xi="http://www.w3.org/2001/XInclude"> <xi:fallback></xi:fallback> </xi:include> </document> </dir> <dir name="xtrans"> - <document targetdoc="xtrans" baseuri="xtrans.__ext__"> + <document targetdoc="xtrans"> <xi:include href="@datarootdir@/doc/xtrans/xtrans.__db__.db" xmlns:xi="http://www.w3.org/2001/XInclude"> <xi:fallback></xi:fallback> </xi:include> @@ -189,116 +189,116 @@ listed here. This allows crosslinking between documents. </dir> <!-- Protocols --> <dir name="bigreqsproto"> - <document targetdoc="bigreq" baseuri="bigreq.__ext__"> + <document targetdoc="bigreq"> <xi:include href="@datarootdir@/doc/bigreqsproto/bigreq.__db__.db" xmlns:xi="http://www.w3.org/2001/XInclude"> <xi:fallback></xi:fallback> </xi:include> </document> </dir> <dir name="fontsproto"> - <document targetdoc="fsproto" baseuri="fsproto.__ext__"> + <document targetdoc="fsproto"> <xi:include href="@datarootdir@/doc/fontsproto/fsproto.__db__.db" xmlns:xi="http://www.w3.org/2001/XInclude"> <xi:fallback></xi:fallback> </xi:include> </document> </dir> <dir name="kbproto"> - <document targetdoc="xkbproto" baseuri="xkbproto.__ext__"> + <document targetdoc="xkbproto"> <xi:include href="@datarootdir@/doc/kbproto/xkbproto.__db__.db" xmlns:xi="http://www.w3.org/2001/XInclude"> <xi:fallback></xi:fallback> </xi:include> </document> </dir> <dir name="recordproto"> - <document targetdoc="record" baseuri="record.__ext__"> + <document targetdoc="record"> <xi:include href="@datarootdir@/doc/recordproto/record.__db__.db" xmlns:xi="http://www.w3.org/2001/XInclude"> <xi:fallback></xi:fallback> </xi:include> </document> </dir> <dir name="scrnsaverproto"> - <document targetdoc="saver" baseuri="saver.__ext__"> + <document targetdoc="saver"> <xi:include href="@datarootdir@/doc/scrnsaverproto/saver.__db__.db" xmlns:xi="http://www.w3.org/2001/XInclude"> <xi:fallback></xi:fallback> </xi:include> </document> </dir> <dir name="xcmiscproto"> - <document targetdoc="xc-misc" baseuri="xc-misc.__ext__"> + <document targetdoc="xc-misc"> <xi:include href="@datarootdir@/doc/xcmiscproto/xc-misc.__db__.db" xmlns:xi="http://www.w3.org/2001/XInclude"> <xi:fallback></xi:fallback> </xi:include> </document> </dir> <dir name="xextproto"> - <document targetdoc="appgrp" baseuri="appgrp.__ext__"> + <document targetdoc="appgrp"> <xi:include href="@datarootdir@/doc/xextproto/appgrp.__db__.db" xmlns:xi="http://www.w3.org/2001/XInclude"> <xi:fallback></xi:fallback> </xi:include> </document> - <document targetdoc="dbe" baseuri="dbe.__ext__"> + <document targetdoc="dbe"> <xi:include href="@datarootdir@/doc/xextproto/dbe.__db__.db" xmlns:xi="http://www.w3.org/2001/XInclude"> <xi:fallback></xi:fallback> </xi:include> </document> - <document targetdoc="dpms" baseuri="dpms.__ext__"> + <document targetdoc="dpms"> <xi:include href="@datarootdir@/doc/xextproto/dpms.__db__.db" xmlns:xi="http://www.w3.org/2001/XInclude"> <xi:fallback></xi:fallback> </xi:include> </document> - <document targetdoc="evi" baseuri="evi.__ext__"> + <document targetdoc="evi"> <xi:include href="@datarootdir@/doc/xextproto/evi.__db__.db" xmlns:xi="http://www.w3.org/2001/XInclude"> <xi:fallback></xi:fallback> </xi:include> </document> - <document targetdoc="geproto" baseuri="geproto.__ext__"> + <document targetdoc="geproto"> <xi:include href="@datarootdir@/doc/xextproto/geproto.__db__.db" xmlns:xi="http://www.w3.org/2001/XInclude"> <xi:fallback></xi:fallback> </xi:include> </document> - <document targetdoc="lbx" baseuri="lbx.__ext__"> + <document targetdoc="lbx"> <xi:include href="@datarootdir@/doc/xextproto/lbx.__db__.db" xmlns:xi="http://www.w3.org/2001/XInclude"> <xi:fallback></xi:fallback> </xi:include> </document> - <document targetdoc="multibuf" baseuri="multibuf.__ext__"> + <document targetdoc="multibuf"> <xi:include href="@datarootdir@/doc/xextproto/multibuf.__db__.db" xmlns:xi="http://www.w3.org/2001/XInclude"> <xi:fallback></xi:fallback> </xi:include> </document> - <document targetdoc="security" baseuri="security.__ext__"> + <document targetdoc="security"> <xi:include href="@datarootdir@/doc/xextproto/security.__db__.db" xmlns:xi="http://www.w3.org/2001/XInclude"> <xi:fallback></xi:fallback> </xi:include> </document> - <document targetdoc="shape" baseuri="shape.__ext__"> + <document targetdoc="shape"> <xi:include href="@datarootdir@/doc/xextproto/shape.__db__.db" xmlns:xi="http://www.w3.org/2001/XInclude"> <xi:fallback></xi:fallback> </xi:include> </document> - <document targetdoc="shm" baseuri="shm.__ext__"> + <document targetdoc="shm"> <xi:include href="@datarootdir@/doc/xextproto/shm.__db__.db" xmlns:xi="http://www.w3.org/2001/XInclude"> <xi:fallback></xi:fallback> </xi:include> </document> - <document targetdoc="sync" baseuri="sync.__ext__"> + <document targetdoc="sync"> <xi:include href="@datarootdir@/doc/xextproto/sync.__db__.db" xmlns:xi="http://www.w3.org/2001/XInclude"> <xi:fallback></xi:fallback> </xi:include> </document> - <document targetdoc="tog-cup" baseuri="tog-cup.__ext__"> + <document targetdoc="tog-cup"> <xi:include href="@datarootdir@/doc/xextproto/tog-cup.__db__.db" xmlns:xi="http://www.w3.org/2001/XInclude"> <xi:fallback></xi:fallback> </xi:include> </document> - <document targetdoc="xtest" baseuri="xtest.__ext__"> + <document targetdoc="xtest"> <xi:include href="@datarootdir@/doc/xextproto/xtest.__db__.db" xmlns:xi="http://www.w3.org/2001/XInclude"> <xi:fallback></xi:fallback> </xi:include> </document> </dir> <dir name="xproto"> - <document targetdoc="x11protocol" baseuri="x11protocol.__ext__"> + <document targetdoc="x11protocol"> <xi:include href="@datarootdir@/doc/xproto/x11protocol.__db__.db" xmlns:xi="http://www.w3.org/2001/XInclude"> <xi:fallback></xi:fallback> </xi:include> @@ -306,109 +306,109 @@ listed here. This allows crosslinking between documents. </dir> <!-- X.Org System Documentation --> <dir name="xorg-docs"> - <document targetdoc="License" baseuri="License.__ext__"> + <document targetdoc="License"> <xi:include href="@datarootdir@/doc/xorg-docs/License.__db__.db" xmlns:xi="http://www.w3.org/2001/XInclude"> <xi:fallback></xi:fallback> </xi:include> </document> - <document targetdoc="README" baseuri="README.__ext__"> + <document targetdoc="README"> <xi:include href="@datarootdir@/doc/xorg-docs/README.__db__.db" xmlns:xi="http://www.w3.org/2001/XInclude"> <xi:fallback></xi:fallback> </xi:include> </document> - <document targetdoc="ReleaseNotes" baseuri="ReleaseNotes.__ext__"> + <document targetdoc="ReleaseNotes"> <xi:include href="@datarootdir@/doc/xorg-docs/ReleaseNotes.__db__.db" xmlns:xi="http://www.w3.org/2001/XInclude"> <xi:fallback></xi:fallback> </xi:include> </document> - <document targetdoc="Versions" baseuri="Versions.__ext__"> + <document targetdoc="Versions"> <xi:include href="@datarootdir@/doc/xorg-docs/Versions.__db__.db" xmlns:xi="http://www.w3.org/2001/XInclude"> <xi:fallback></xi:fallback> </xi:include> </document> <dir name="fonts"> - <document targetdoc="fonts" baseuri="fonts.__ext__"> + <document targetdoc="fonts"> <xi:include href="@datarootdir@/doc/xorg-docs/fonts/fonts.__db__.db" xmlns:xi="http://www.w3.org/2001/XInclude"> <xi:fallback></xi:fallback> </xi:include> </document> </dir> <dir name="graphics"> - <document targetdoc="dps" baseuri="dps.__ext__"> + <document targetdoc="dps"> <xi:include href="@datarootdir@/doc/xorg-docs/graphics/dps.__db__.db" xmlns:xi="http://www.w3.org/2001/XInclude"> <xi:fallback></xi:fallback> </xi:include> </document> </dir> <dir name="input"> - <document targetdoc="XKB-Config" baseuri="XKB-Config.__ext__"> + <document targetdoc="XKB-Config"> <xi:include href="@datarootdir@/doc/xorg-docs/input/XKB-Config.__db__.db" xmlns:xi="http://www.w3.org/2001/XInclude"> <xi:fallback></xi:fallback> </xi:include> </document> - <document targetdoc="XKB-Enhancing" baseuri="XKB-Enhancing.__ext__"> + <document targetdoc="XKB-Enhancing"> <xi:include href="@datarootdir@/doc/xorg-docs/input/XKB-Enhancing.__db__.db" xmlns:xi="http://www.w3.org/2001/XInclude"> <xi:fallback></xi:fallback> </xi:include> </document> </dir> <dir name="platforms"> - <document targetdoc="Darwin" baseuri="Darwin.__ext__"> + <document targetdoc="Darwin"> <xi:include href="@datarootdir@/doc/xorg-docs/platforms/Darwin.__db__.db" xmlns:xi="http://www.w3.org/2001/XInclude"> <xi:fallback></xi:fallback> </xi:include> </document> - <document targetdoc="Solaris" baseuri="Solaris.__ext__"> + <document targetdoc="Solaris"> <xi:include href="@datarootdir@/doc/xorg-docs/platforms/Solaris.__db__.db" xmlns:xi="http://www.w3.org/2001/XInclude"> <xi:fallback></xi:fallback> </xi:include> </document> </dir> <dir name="ctext"> - <document targetdoc="ctext" baseuri="ctext.__ext__"> + <document targetdoc="ctext"> <xi:include href="@datarootdir@/doc/xorg-docs/ctext/ctext.__db__.db" xmlns:xi="http://www.w3.org/2001/XInclude"> <xi:fallback></xi:fallback> </xi:include> </document> </dir> <dir name="icccm"> - <document targetdoc="icccm" baseuri="icccm.__ext__"> + <document targetdoc="icccm"> <xi:include href="@datarootdir@/doc/xorg-docs/icccm/icccm.__db__.db" xmlns:xi="http://www.w3.org/2001/XInclude"> <xi:fallback></xi:fallback> </xi:include> </document> </dir> <dir name="xext"> - <document targetdoc="lbxalg" baseuri="lbxalg.__ext__"> + <document targetdoc="lbxalg"> <xi:include href="@datarootdir@/doc/xorg-docs/xext/lbxalg.__db__.db" xmlns:xi="http://www.w3.org/2001/XInclude"> <xi:fallback></xi:fallback> </xi:include> </document> </dir> <dir name="xlfd"> - <document targetdoc="xlfd" baseuri="xlfd.__ext__"> + <document targetdoc="xlfd"> <xi:include href="@datarootdir@/doc/xorg-docs/xlfd/xlfd.__db__.db" xmlns:xi="http://www.w3.org/2001/XInclude"> <xi:fallback></xi:fallback> </xi:include> </document> </dir> <dir name="Xserver"> - <document targetdoc="appgroup" baseuri="appgroup.__ext__"> + <document targetdoc="appgroup"> <xi:include href="@datarootdir@/doc/xorg-docs/Xserver/appgroup.__db__.db" xmlns:xi="http://www.w3.org/2001/XInclude"> <xi:fallback></xi:fallback> </xi:include> </document> - <document targetdoc="analysis" baseuri="analysis.__ext__"> + <document targetdoc="analysis"> <xi:include href="@datarootdir@/doc/xorg-docs/Xserver/analysis.__db__.db" xmlns:xi="http://www.w3.org/2001/XInclude"> <xi:fallback></xi:fallback> </xi:include> </document> - <document targetdoc="secint" baseuri="secint.__ext__"> + <document targetdoc="secint"> <xi:include href="@datarootdir@/doc/xorg-docs/Xserver/secint.__db__.db" xmlns:xi="http://www.w3.org/2001/XInclude"> <xi:fallback></xi:fallback> </xi:include> </document> - <document targetdoc="XACE-Spec" baseuri="XACE-Spec.__ext__"> + <document targetdoc="XACE-Spec"> <xi:include href="@datarootdir@/doc/xorg-docs/Xserver/XACE-Spec.__db__.db" xmlns:xi="http://www.w3.org/2001/XInclude"> <xi:fallback></xi:fallback> </xi:include> @@ -417,7 +417,7 @@ listed here. This allows crosslinking between documents. </dir> <!-- X Server --> <dir name="xorg-server"> - <document targetdoc="Xserver-DTrace" baseuri="Xserver-DTrace.__ext__"> + <document targetdoc="Xserver-DTrace"> <xi:include href="@datarootdir@/doc/xorg-server/Xserver-DTrace.__db__.db" xmlns:xi="http://www.w3.org/2001/XInclude"> <xi:fallback></xi:fallback> </xi:include> |