Bruce A. Mah <>

r846222, r846004

r846004 | fitz | 2003-05-14 03:48:18 +0000 (Wed, 14 May 2003)

Automatically include a version number in renditions of the book,
as reported by svnversion.

Patch by: Bruce A. Mah <>

* 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.

r846222 | sussman | 2003-06-05 00:29:22 +0000 (Thu, 05 Jun 2003)

When compiling the svn book, handle the case where "svnversion ."
doesn't work (i.e. we don't have an svnversion executable in our $PATH
or we aren't building inside a checked-out working copy).

Patch by: Bruce A. Mah <>
(From issue #1340.)

* doc/book/Makefile (BOOK_VERSION_SOURCE): Check to see if "svnversion
  ." produces an error before trying to use its output. Provide a
  fallback for the version.xml entity if this doesn't work.

* doc/book/book.xml: Let version.xml provide the complete subtitle