[cairo-commit] cairo/doc/public .cvsignore, 1.2, 1.3 Makefile.am, 1.10, 1.11 cairo-docs.xml, 1.7, 1.8 version.xml.in, NONE, 1.1

Billy Biggs commit at pdx.freedesktop.org
Thu Aug 18 08:28:10 PDT 2005


Committed by: vektor

Update of /cvs/cairo/cairo/doc/public
In directory gabe:/tmp/cvs-serv14143/doc/public

Modified Files:
	.cvsignore Makefile.am cairo-docs.xml 
Added Files:
	version.xml.in 
Log Message:
	* doc/public/version.xml.in: Add an autoconf-generated version
	file to advertise what cairo version the manual was generated
	for.  Idea taken from the GTK+ documentation.

	* doc/public/cairo-docs.xml: Include the version number, along
	with the title, in a bookinfo section.

	* doc/public/Makefile.am: Add the version.xml.in to the dist.

	* doc/public/.cvsignore: Ignore version.xml.

	* configure.in: Generate doc/public/version.xml.



Index: .cvsignore
===================================================================
RCS file: /cvs/cairo/cairo/doc/public/.cvsignore,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- .cvsignore	24 May 2005 23:08:40 -0000	1.2
+++ .cvsignore	18 Aug 2005 15:28:08 -0000	1.3
@@ -13,6 +13,4 @@
 cairo.signals
 html
 xml
-
-
-
+version.xml

Index: Makefile.am
===================================================================
RCS file: /cvs/cairo/cairo/doc/public/Makefile.am,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -d -r1.10 -r1.11
--- Makefile.am	5 Aug 2005 17:40:32 -0000	1.10
+++ Makefile.am	18 Aug 2005 15:28:08 -0000	1.11
@@ -56,4 +56,7 @@
 # Extra options to supply to gtkdoc-fixref
 FIXXREF_OPTIONS=
 
+# Version information for marking the documentation
+EXTRA_DIST=version.xml.in
+
 include $(top_srcdir)/gtk-doc.make

Index: cairo-docs.xml
===================================================================
RCS file: /cvs/cairo/cairo/doc/public/cairo-docs.xml,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -d -r1.7 -r1.8
--- cairo-docs.xml	10 Aug 2005 23:04:26 -0000	1.7
+++ cairo-docs.xml	18 Aug 2005 15:28:08 -0000	1.8
@@ -1,8 +1,14 @@
 <?xml version='1.0' encoding='UTF-8'?> 
 <!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook XML V4.2//EN"
-                "http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd">
+                "http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd" [
+<!ENTITY version SYSTEM "version.xml">
+]>
 <book lang="en" id="cairo" xmlns:xi="http://www.w3.org/2003/XInclude"> 
 <title>Cairo: A Vector Graphics Library</title>
+  <bookinfo>
+    <title>Cairo: A Vector Graphics Library</title>
+    <releaseinfo>for Cairo &version;</releaseinfo>
+  </bookinfo>
   <part>
     <title>Tutorial</title>
   </part>				  

--- NEW FILE: version.xml.in ---
@CAIRO_VERSION_MAJOR at .@CAIRO_VERSION_MINOR at .@CAIRO_VERSION_MICRO@



More information about the cairo-commit mailing list