[farsight2/master] Put version in generated documentation
Olivier Crête
olivier.crete at collabora.co.uk
Wed Dec 17 15:11:10 PST 2008
---
docs/libs/farsight2-libs-docs.sgml | 10 +++++++++-
docs/plugins/farsight2-plugins-docs.sgml | 10 +++++++++-
docs/version.entities.in | 2 +-
3 files changed, 19 insertions(+), 3 deletions(-)
diff --git a/docs/libs/farsight2-libs-docs.sgml b/docs/libs/farsight2-libs-docs.sgml
index 6f214c9..25d82bf 100644
--- a/docs/libs/farsight2-libs-docs.sgml
+++ b/docs/libs/farsight2-libs-docs.sgml
@@ -1,9 +1,17 @@
<?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">
+ "http://www.oasis-open.org/docbook/xml/4.1.2/docbookx.dtd" [
+<!ENTITY % version-entities SYSTEM "version.entities">
+%version-entities;
+]>
<book id="index" xmlns:xi="http://www.w3.org/2003/XInclude">
<bookinfo>
<title>Farsight2 Reference Manual</title>
+ <releaseinfo>
+ for version &FS2_VERSION;.
+ The latest version of this documentation can be found on-line at
+ <ulink role="online-location" url="http://farsight.freedesktop.org/apidoc/farsight2/">http://farsight.freedesktop.org/apidoc/farsight2/</ulink>.
+ </releaseinfo>
</bookinfo>
<part>
diff --git a/docs/plugins/farsight2-plugins-docs.sgml b/docs/plugins/farsight2-plugins-docs.sgml
index 8a795dc..ccd6475 100644
--- a/docs/plugins/farsight2-plugins-docs.sgml
+++ b/docs/plugins/farsight2-plugins-docs.sgml
@@ -1,9 +1,17 @@
<?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">
+ "http://www.oasis-open.org/docbook/xml/4.1.2/docbookx.dtd" [
+<!ENTITY % version-entities SYSTEM "version.entities">
+%version-entities;
+]>
<book id="index" xmlns:xi="http://www.w3.org/2003/XInclude">
<bookinfo>
<title>Farsight2 Plugins Manual</title>
+ <releaseinfo>
+ for version &FS2_VERSION;.
+ The latest version of this documentation can be found on-line at
+ <ulink role="online-location" url="http://farsight.freedesktop.org/apidoc/farsight2-plugins/">http://farsight.freedesktop.org/apidoc/farsight2-plugins/</ulink>.
+ </releaseinfo>
</bookinfo>
<part>
diff --git a/docs/version.entities.in b/docs/version.entities.in
index 79a6898..6494998 100644
--- a/docs/version.entities.in
+++ b/docs/version.entities.in
@@ -1,2 +1,2 @@
<!ENTITY GST_MAJORMINOR "@GST_MAJORMINOR@">
-<!ENTITY GST_VERSION "@VERSION@">
+<!ENTITY FS2_VERSION "@VERSION@">
--
1.5.6.5
More information about the farsight-commits
mailing list