Author: wyoung
Date: Fri Feb 29 02:05:56 2008
New Revision: 2221

URL: http://svn.gna.org/viewcvs/mysqlpp?rev=2221&view=rev
Log:
- Using a standard DocBook processing instruction to insert manual
  build date string into title page instead of autoconf.  No value in
  reinventing this wheel.
- If userman.dbx.in changes, we re-do the autoconf build steps at the
  top level to generate userman.dbx.  (We still need autoconf to
  generate this file because we also insert the MySQL++ version number
  in the title page, a wheel DocBook doesn't provide.)

Modified:
    trunk/configure.ac
    trunk/doc/userman/Makefile
    trunk/doc/userman/userman.dbx.in

Modified: trunk/configure.ac
URL: 
http://svn.gna.org/viewcvs/mysqlpp/trunk/configure.ac?rev=2221&r1=2220&r2=2221&view=diff
==============================================================================
--- trunk/configure.ac (original)
+++ trunk/configure.ac Fri Feb 29 02:05:56 2008
@@ -27,11 +27,6 @@
 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

Modified: trunk/doc/userman/Makefile
URL: 
http://svn.gna.org/viewcvs/mysqlpp/trunk/doc/userman/Makefile?rev=2221&r1=2220&r2=2221&view=diff
==============================================================================
--- trunk/doc/userman/Makefile (original)
+++ trunk/doc/userman/Makefile Fri Feb 29 02:05:56 2008
@@ -45,12 +45,12 @@
 ## How to make output files
 ## ------------------------
 
-$(PDFFILE): *.dbx $(FO_SS) $(COMMON_SS)
+$(PDFFILE): *.dbx *.in $(FO_SS) $(COMMON_SS)
        xsltproc --xinclude $(FO_SS) $(DOCFILE) > $(FOFILE)
        ./fo2pdf $(FOFILE) $(PDFFILE)
        mkdir -p ../pdf && cp $(PDFFILE) ../pdf
 
-$(HTML_DIR)/index.html: *.dbx $(EX_TXT) $(HTML_SS) $(COMMON_SS)
+$(HTML_DIR)/index.html: *.dbx *.in $(EX_TXT) $(HTML_SS) $(COMMON_SS)
        @xmllint --xinclude --postvalid --noent --noout $(DOCFILE)
        xsltproc --xinclude -o $(HTML_DIR)/ $(HTML_SS) $(DOCFILE)
 
@@ -61,3 +61,6 @@
 
 $(EX_TXT):
        @./mktxt $@
+
+userman.dbx: userman.dbx.in
+       ( cd ../.. ; ./config.status )

Modified: trunk/doc/userman/userman.dbx.in
URL: 
http://svn.gna.org/viewcvs/mysqlpp/trunk/doc/userman/userman.dbx.in?rev=2221&r1=2220&r2=2221&view=diff
==============================================================================
--- trunk/doc/userman/userman.dbx.in (original)
+++ trunk/doc/userman/userman.dbx.in Fri Feb 29 02:05:56 2008
@@ -35,7 +35,7 @@
                        <holder>Educational Technology Resources</holder>
                </copyright>
 
-               <pubdate>@MYSQLPP_CONFIGURE_DATE@</pubdate>
+               <pubdate><?dbtimestamp format="B d, Y"?></pubdate>
        </articleinfo>
 
 


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

Reply via email to