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.
This commit is contained in:
Billy Biggs 2005-08-18 08:28:08 +00:00
parent 3422d8760f
commit 93e521ce19
6 changed files with 28 additions and 4 deletions

View file

@ -1,3 +1,18 @@
2005-08-18 Billy Biggs <vektor@dumbterm.net>
* 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.
2005-08-18 Carl Worth <cworth@cworth.org>
* Makefile.am: Clear setgid bit on regular files prior to tarring

View file

@ -501,6 +501,7 @@ src/cairo-features.h
test/Makefile
doc/Makefile
doc/public/Makefile
doc/public/version.xml
])
dnl ===========================================================================

View file

@ -13,6 +13,4 @@ cairo.args
cairo.signals
html
xml
version.xml

View file

@ -56,4 +56,7 @@ HTML_IMAGES =
# 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

View file

@ -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>

View file

@ -0,0 +1 @@
@CAIRO_VERSION_MAJOR@.@CAIRO_VERSION_MINOR@.@CAIRO_VERSION_MICRO@