[gnome-keyring/gnome-3-0] Add correct version numbers to documentation.



commit 053ee388aa32cc9c46cd30909600e7827936c606
Author: Stef Walter <stefw collabora co uk>
Date:   Fri Mar 25 13:04:30 2011 +0100

    Add correct version numbers to documentation.

 .gitignore                        |    2 ++
 configure.in                      |    4 +++-
 docs/reference/gck/gck-docs.sgml  |   10 ++++++----
 docs/reference/gck/version.xml.in |    1 +
 docs/reference/gcr/gcr-docs.sgml  |   12 +++++++-----
 docs/reference/gcr/version.xml.in |    1 +
 6 files changed, 20 insertions(+), 10 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index f021b6f..e129e2b 100644
--- a/.gitignore
+++ b/.gitignore
@@ -79,6 +79,8 @@ run-tests
 # Old directories
 /gp11
 /docs/reference/gp11
+/docs/reference/gck/version.xml
+/docs/reference/gcr/version.xml
 
 /egg/tests/test-asn1
 /egg/tests/test-cleanup
diff --git a/configure.in b/configure.in
index e5896b4..c04d36a 100644
--- a/configure.in
+++ b/configure.in
@@ -698,8 +698,10 @@ daemon/login/Makefile
 daemon/ssh-agent/Makefile
 docs/Makefile
 docs/reference/Makefile
-docs/reference/gcr/Makefile
 docs/reference/gck/Makefile
+docs/reference/gck/version.xml
+docs/reference/gcr/Makefile
+docs/reference/gcr/version.xml
 egg/Makefile
 egg/tests/Makefile
 gck/gck.pc
diff --git a/docs/reference/gck/gck-docs.sgml b/docs/reference/gck/gck-docs.sgml
index 5b5e114..b3d7746 100644
--- a/docs/reference/gck/gck-docs.sgml
+++ b/docs/reference/gck/gck-docs.sgml
@@ -1,12 +1,14 @@
 <?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 SYSTEM "version.xml">
+]>
 <book id="index" xmlns:xi="http://www.w3.org/2003/XInclude";>
 	<bookinfo>
-		<title>GCK Reference Manual</title>
+		<title>Gck Library Reference Manual</title>
 		<releaseinfo>
-			For GCK
-			The latest version of this documentation can be found on-line at
+			For Gck &version;.
+			An online version of this documentation can be found on-line at
 			<ulink role="online-location" url="http://library.gnome.org/devel/gck/unstable/";>http://library.gnome.org/devel/gck/unstable/</ulink>.
 		</releaseinfo>
 	</bookinfo>
diff --git a/docs/reference/gck/version.xml.in b/docs/reference/gck/version.xml.in
new file mode 100644
index 0000000..27323da
--- /dev/null
+++ b/docs/reference/gck/version.xml.in
@@ -0,0 +1 @@
+ VERSION@
\ No newline at end of file
diff --git a/docs/reference/gcr/gcr-docs.sgml b/docs/reference/gcr/gcr-docs.sgml
index d7e826c..568dadc 100644
--- a/docs/reference/gcr/gcr-docs.sgml
+++ b/docs/reference/gcr/gcr-docs.sgml
@@ -1,13 +1,15 @@
 <?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 SYSTEM "version.xml">
+]>
 <book id="index" xmlns:xi="http://www.w3.org/2003/XInclude";>
 	<bookinfo>
-		<title>gcr Reference Manual</title>
+		<title>Gcr Library Reference Manual</title>
 		<releaseinfo>
-			for gcr [VERSION]
-			The latest version of this documentation can be found on-line at
-			<ulink role="online-location" url="http://[SERVER]/gcr/index.html";>http://[SERVER]/gcr/</ulink>.
+			for Gcr &version;
+			An online version of this documentation can be found on-line at
+			<ulink role="online-location" url="http://library.gnome.org/devel/gcr/stable/";>http://library.gnome.org/devel/gcr/stable/</ulink>.
 		</releaseinfo>
 	</bookinfo>
 
diff --git a/docs/reference/gcr/version.xml.in b/docs/reference/gcr/version.xml.in
new file mode 100644
index 0000000..27323da
--- /dev/null
+++ b/docs/reference/gcr/version.xml.in
@@ -0,0 +1 @@
+ VERSION@
\ No newline at end of file



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]