summaryrefslogtreecommitdiff
path: root/doc/public/cairo-docs.xml
diff options
context:
space:
mode:
authorBilly Biggs <vektor@dumbterm.net>2005-08-18 08:28:08 +0000
committerBilly Biggs <vektor@dumbterm.net>2005-08-18 08:28:08 +0000
commit93e521ce1976cef6978fcbccf78b3ed98a544d51 (patch)
tree83e541b561aaf1306ed49ad6acb308f82829ae9a /doc/public/cairo-docs.xml
parent3422d8760f54e403bda12aa58dc5256bb132ebf3 (diff)
Add an autoconf-generated version file to advertise what cairo version the manual was generated for. Idea taken from the GTK+ documentation.
Include the version number, along with the title, in a bookinfo section. Add the version.xml.in to the dist. Ignore version.xml. Generate doc/public/version.xml.
Diffstat (limited to 'doc/public/cairo-docs.xml')
-rw-r--r--doc/public/cairo-docs.xml8
1 files changed, 7 insertions, 1 deletions
diff --git a/doc/public/cairo-docs.xml b/doc/public/cairo-docs.xml
index 3c894b550..f4e61e194 100644
--- a/doc/public/cairo-docs.xml
+++ b/doc/public/cairo-docs.xml
@@ -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>