cvs: smarty /docs .cvsignore Makefile.in configure.in manual.xml.in version.ent.in /docs/en bookinfo.xml

"Nuno Lopes" <[email protected]>
Newsgroups gmane.comp.php.cvs.smarty
Message-ID <cvsnlopess1079631276@cvsserver>
nlopess		Thu Mar 18 12:34:36 2004 EDT

  Added files:                 
    /smarty/docs	version.ent.in 

  Modified files:              
    /smarty/docs	.cvsignore Makefile.in configure.in manual.xml.in 
    /smarty/docs/en	bookinfo.xml 
  Log:
  generate build date
  
http://cvs.php.net/diff.php/smarty/docs/.cvsignore?r1=1.2&r2=1.3&ty=u
Index: smarty/docs/.cvsignore
diff -u smarty/docs/.cvsignore:1.2 smarty/docs/.cvsignore:1.3
--- smarty/docs/.cvsignore:1.2	Thu Mar 18 12:12:45 2004
+++ smarty/docs/.cvsignore	Thu Mar 18 12:34:33 2004
@@ -3,3 +3,4 @@
 manual.xml
 config.*
 *.cache
+version.ent
http://cvs.php.net/diff.php/smarty/docs/Makefile.in?r1=1.1&r2=1.2&ty=u
Index: smarty/docs/Makefile.in
diff -u smarty/docs/Makefile.in:1.1 smarty/docs/Makefile.in:1.2
--- smarty/docs/Makefile.in:1.1	Thu Mar 18 12:12:45 2004
+++ smarty/docs/Makefile.in	Thu Mar 18 12:34:33 2004
@@ -14,7 +14,7 @@
 #
 
 #
-# $Id: Makefile.in,v 1.1 2004/03/18 17:12:45 nlopess Exp $
+# $Id: Makefile.in,v 1.2 2004/03/18 17:34:33 nlopess Exp $
 #
 
 all: html
@@ -35,7 +35,7 @@
 # {{{ cleanup 
 
 clean:
-	rm -f Makefile config.* manual.xml configure
+	rm -f Makefile config.* manual.xml configure version.ent
 	rm -fr autom4te.cache 
 
 # }}}
http://cvs.php.net/diff.php/smarty/docs/configure.in?r1=1.1&r2=1.2&ty=u
Index: smarty/docs/configure.in
diff -u smarty/docs/configure.in:1.1 smarty/docs/configure.in:1.2
--- smarty/docs/configure.in:1.1	Thu Mar 18 12:12:45 2004
+++ smarty/docs/configure.in	Thu Mar 18 12:34:33 2004
@@ -1,4 +1,4 @@
-dnl $Id: configure.in,v 1.1 2004/03/18 17:12:45 nlopess Exp $
+dnl $Id: configure.in,v 1.2 2004/03/18 17:34:33 nlopess Exp $
 
 dnl autoconf initialisation
 AC_INIT()
@@ -73,7 +73,7 @@
 
 AC_MSG_CHECKING(for language)
 
-PHP_BUILD_DATE=`date '+%Y-%m-%d'`
+BUILD_DATE=`date '+%Y-%m-%d'`
 
 AC_ARG_WITH(lang,
 [  --with-lang=LANG        choose a language to work with],[
@@ -89,14 +89,14 @@
       AC_MSG_RESULT($LANG)
     fi
        
-    PHP_BUILD_DATE=`date '+%d-%m-%Y'`
+    BUILD_DATE=`date '+%d-%m-%Y'`
   fi
 ],[
   LANG=en
   AC_MSG_RESULT([en (default)])
 ])
 AC_SUBST(LANG)
-AC_SUBST(PHP_BUILD_DATE)
+AC_SUBST(BUILD_DATE)
 
 dnl }}}
 
http://cvs.php.net/diff.php/smarty/docs/manual.xml.in?r1=1.1&r2=1.2&ty=u
Index: smarty/docs/manual.xml.in
diff -u smarty/docs/manual.xml.in:1.1 smarty/docs/manual.xml.in:1.2
--- smarty/docs/manual.xml.in:1.1	Thu Mar 18 12:12:45 2004
+++ smarty/docs/manual.xml.in	Thu Mar 18 12:34:33 2004
@@ -1,5 +1,6 @@
 <!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook XML V4.1.2//EN"
           "./dtds/dbxml-4.1.2/docbookx.dtd" [
+<!ENTITY build.version SYSTEM "version.ent">
 <!ENTITY bookinfo SYSTEM "@LANG@/bookinfo.xml">
 <!ENTITY preface SYSTEM "@LANG@/preface.xml">
 <!ENTITY getting.started SYSTEM "@LANG@/getting-started.xml">
http://cvs.php.net/diff.php/smarty/docs/en/bookinfo.xml?r1=1.1&r2=1.2&ty=u
Index: smarty/docs/en/bookinfo.xml
diff -u smarty/docs/en/bookinfo.xml:1.1 smarty/docs/en/bookinfo.xml:1.2
--- smarty/docs/en/bookinfo.xml:1.1	Thu Mar 18 12:16:23 2004
+++ smarty/docs/en/bookinfo.xml	Thu Mar 18 12:34:36 2004
@@ -8,11 +8,12 @@
     <firstname>Andrei</firstname><surname>Zmievski &lt;[email protected]&gt;</surname>
    </author>
   </authorgroup>
-  <edition>Version 2.0</edition>
+  <pubdate>&build-date;</pubdate>
   <copyright>
    <year>2001</year>
    <year>2002</year>
    <year>2003</year>
+   <year>2004</year>
    <holder>ispi of Lincoln, Inc.</holder>
   </copyright>
  </bookinfo>
\ No newline at end of file

http://cvs.php.net/co.php/smarty/docs/version.ent.in?r=1.1&p=1
Index: smarty/docs/version.ent.in
+++ smarty/docs/version.ent.in
<!ENTITY build-date "@BUILD_DATE@">

-- 
Smarty CVS Mailing List (http://cvs.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.