cvs: smarty /docs .cvsignore Makefile.in README /docs/scripts revcheck.php

"Nuno Lopes" <[email protected]>
Newsgroups gmane.comp.php.cvs.smarty
Message-ID <cvsnlopess1081956357@cvsserver>
nlopess		Wed Apr 14 11:25:57 2004 EDT

  Modified files:              
    /smarty/docs	.cvsignore Makefile.in README 
    /smarty/docs/scripts	revcheck.php 
  Log:
  allow make revcheck
  
http://cvs.php.net/diff.php/smarty/docs/.cvsignore?r1=1.5&r2=1.6&ty=u
Index: smarty/docs/.cvsignore
diff -u smarty/docs/.cvsignore:1.5 smarty/docs/.cvsignore:1.6
--- smarty/docs/.cvsignore:1.5	Tue Mar 23 13:20:29 2004
+++ smarty/docs/.cvsignore	Wed Apr 14 11:25:57 2004
@@ -7,3 +7,4 @@
 html
 phpweb
 diff
+revcheck.html
http://cvs.php.net/diff.php/smarty/docs/Makefile.in?r1=1.6&r2=1.7&ty=u
Index: smarty/docs/Makefile.in
diff -u smarty/docs/Makefile.in:1.6 smarty/docs/Makefile.in:1.7
--- smarty/docs/Makefile.in:1.6	Sat Apr  3 08:48:44 2004
+++ smarty/docs/Makefile.in	Wed Apr 14 11:25:57 2004
@@ -14,7 +14,7 @@
 #
 
 #
-# $Id: Makefile.in,v 1.6 2004/04/03 13:48:44 nlopess Exp $
+# $Id: Makefile.in,v 1.7 2004/04/14 15:25:57 nlopess Exp $
 #
 
 all: html
@@ -52,10 +52,14 @@
 	$(NSGMLS) -i lang-$(LANG) -s $(XMLDCL) manual.xml 
 
 
+revcheck: FORCE
+	$(PHP) -f scripts/revcheck.php $(LANG) > revcheck.html
+
 # {{{ cleanup 
 
 clean:
 	rm -f Makefile config.* manual.xml configure entities/version.ent *.fot dsssl/html-common.dsl
+	rm -f revcheck.html file-entities.php
 	rm -fr autom4te.cache html phpweb
 
 # }}}
http://cvs.php.net/diff.php/smarty/docs/README?r1=1.3&r2=1.4&ty=u
Index: smarty/docs/README
diff -u smarty/docs/README:1.3 smarty/docs/README:1.4
--- smarty/docs/README:1.3	Thu Mar 18 12:12:45 2004
+++ smarty/docs/README	Wed Apr 14 11:25:57 2004
@@ -15,5 +15,9 @@
  * make (to make plain html)
  * make web (to make docs for website)
 
+Revision Tracking (for translations):
+ * make revcheck (this will create revcheck.html)
+
+
 You should have libxml and autoconf installed in your system.
 Read http://php.net/manual/howto/chapter-tools.html for more info.
http://cvs.php.net/diff.php/smarty/docs/scripts/revcheck.php?r1=1.1&r2=1.2&ty=u
Index: smarty/docs/scripts/revcheck.php
diff -u smarty/docs/scripts/revcheck.php:1.1 smarty/docs/scripts/revcheck.php:1.2
--- smarty/docs/scripts/revcheck.php:1.1	Tue Apr 13 12:24:12 2004
+++ smarty/docs/scripts/revcheck.php	Wed Apr 14 11:25:57 2004
@@ -1,8 +1,7 @@
-#!/usr/bin/php -q
 <?php
 /*
   +----------------------------------------------------------------------+
-  | PHP Version 4                                                        |
+  | PHP Version 5                                                        |
   +----------------------------------------------------------------------+
   | Copyright (c) 1997-2004 The PHP Group                                |
   +----------------------------------------------------------------------+
@@ -52,6 +51,9 @@
 // Long runtime
 set_time_limit(0);
 
+// disable E_NOTICE
+error_reporting(E_ALL ^ E_NOTICE);
+
 // A file is criticaly "outdated' if
 define("ALERT_REV",   10); // translation is 10 or more revisions behind the en one
 define("ALERT_SIZE",   3); // translation is  3 or more kB smaller than the en one

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