Author: wyoung
Date: Wed Jan 30 00:49:25 2008
New Revision: 2136

URL: http://svn.gna.org/viewcvs/mysqlpp?rev=2136&view=rev
Log:
Autconf now generates userman.dbx from userman.dbx.in so it can sub in
the MySQL++ version and configure date.  The latter looks better than an
RCS date, a nice pay-back for the loss of having a strong tie between
the manual revision and the date in the generated output.

Added:
    trunk/doc/userman/userman.dbx.in
      - copied, changed from r2135, trunk/doc/userman/userman.dbx
Removed:
    trunk/doc/userman/userman.dbx
Modified:
    trunk/configure.ac

Modified: trunk/configure.ac
URL: 
http://svn.gna.org/viewcvs/mysqlpp/trunk/configure.ac?rev=2136&r1=2135&r2=2136&view=diff
==============================================================================
--- trunk/configure.ac (original)
+++ trunk/configure.ac Wed Jan 30 00:49:25 2008
@@ -27,6 +27,11 @@
 AC_SUBST(MYSQLPP_VERSION_MINOR)
 MYSQLPP_VERSION_BUGFIX=`echo $PACKAGE_VERSION | cut -f3 -d.`
 AC_SUBST(MYSQLPP_VERSION_BUGFIX)
+
+
+# Build current date macro, for inclusion on userman's title page
+MYSQLPP_CONFIGURE_DATE=`date '+%B %-d, %Y'`
+AC_SUBST(MYSQLPP_CONFIGURE_DATE)
 
 
 # Include Bakefile macros
@@ -82,5 +87,5 @@
 #
 # Configure process complete; write out files generated from *.in.
 #
-AC_OUTPUT([Makefile mysql++.spec lib/Doxyfile lib/mysql++.h])
+AC_OUTPUT([Makefile mysql++.spec doc/userman/userman.dbx lib/Doxyfile 
lib/mysql++.h])
 

Removed: trunk/doc/userman/userman.dbx
URL: 
http://svn.gna.org/viewcvs/mysqlpp/trunk/doc/userman/userman.dbx?rev=2135&view=auto
==============================================================================
--- trunk/doc/userman/userman.dbx (original)
+++ trunk/doc/userman/userman.dbx (removed)
@@ -1,51 +1,0 @@
-<?xml version="1.0" encoding='UTF-8'?>
-<!DOCTYPE article PUBLIC "-//OASIS//DTD DocBook V4.3//EN"
-    "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd";>
-
-<article>
-       <articleinfo>
-               <title>MySQL++ User Manual</title>
-               
-               <authorgroup>
-                       <author>
-                               <firstname>Kevin</firstname>
-                               <surname>Atkinson</surname>
-                       </author>
-
-                       <author>
-                               <firstname>Sinisa</firstname>
-                               <surname>Milivojevic</surname>
-                       </author>
-
-                       <author>
-                               <firstname>Monty</firstname>
-                               <surname>Widenius</surname>
-                       </author>
-
-                       <author>
-                               <firstname>Warren</firstname>
-                               <surname>Young</surname>
-                       </author>
-               </authorgroup>
-
-               <copyright>
-                       <year>1998-2001, 2005-2008</year>
-                       <holder>Kevin Atkinson (original author)</holder>
-                       <holder>MySQL AB</holder>
-                       <holder>Educational Technology Resources</holder>
-               </copyright>
-
-               <pubdate role="rcs">$Date$</pubdate>
-       </articleinfo>
-
-
-       <xi:include href="intro.dbx" 
xmlns:xi="http://www.w3.org/2001/XInclude"/>
-       <xi:include href="overview.dbx" 
xmlns:xi="http://www.w3.org/2001/XInclude"/>
-       <xi:include href="tutorial.dbx" 
xmlns:xi="http://www.w3.org/2001/XInclude"/>
-       <xi:include href="tquery.dbx" 
xmlns:xi="http://www.w3.org/2001/XInclude"/>
-       <xi:include href="ssqls.dbx" 
xmlns:xi="http://www.w3.org/2001/XInclude"/>
-       <xi:include href="unicode.dbx" 
xmlns:xi="http://www.w3.org/2001/XInclude"/>
-       <xi:include href="threads.dbx" 
xmlns:xi="http://www.w3.org/2001/XInclude"/>
-       <xi:include href="breakages.dbx" 
xmlns:xi="http://www.w3.org/2001/XInclude"/>
-       <xi:include href="licenses.dbx" 
xmlns:xi="http://www.w3.org/2001/XInclude"/>
-</article>

Copied: trunk/doc/userman/userman.dbx.in (from r2135, 
trunk/doc/userman/userman.dbx)
URL: 
http://svn.gna.org/viewcvs/mysqlpp/trunk/doc/userman/userman.dbx.in?p2=trunk/doc/userman/userman.dbx.in&p1=trunk/doc/userman/userman.dbx&r1=2135&r2=2136&rev=2136&view=diff
==============================================================================
--- trunk/doc/userman/userman.dbx (original)
+++ trunk/doc/userman/userman.dbx.in Wed Jan 30 00:49:25 2008
@@ -4,8 +4,8 @@
 
 <article>
        <articleinfo>
-               <title>MySQL++ User Manual</title>
-               
+               <title>MySQL++ [EMAIL PROTECTED]@[EMAIL PROTECTED]@[EMAIL 
PROTECTED]@ User Manual</title>
+
                <authorgroup>
                        <author>
                                <firstname>Kevin</firstname>
@@ -35,7 +35,7 @@
                        <holder>Educational Technology Resources</holder>
                </copyright>
 
-               <pubdate role="rcs">$Date$</pubdate>
+               <pubdate>@MYSQLPP_CONFIGURE_DATE@</pubdate>
        </articleinfo>
 
 


_______________________________________________
Mysqlpp-commits mailing list
[email protected]
https://mail.gna.org/listinfo/mysqlpp-commits

Reply via email to