Patch provided (with a small tweak) by"Bruce A. Mah"
<bmah@...>
Automatically include a version number in renditions of the book,
as reported by svnversion.
* doc/book/Makefile
($(BOOK_VERSION_SOURCE)): Generate a version.xml
file that defines the output of svnversion as an XML entity.
($(BOOK_HTML_TARGET), book-html-chunk, $(BOOK_PDF_TARGET),
$(BOOK_PS_TARGET)): Depend on the generated version.xml file.
book-clean: Remove the generated version.xml file.
* doc/book/book/book.xml: Include the generated version.xml file
and insert its svn.version entity in an appropriate place in the
title page.