Author: fabien
Date: 2009-03-14 13:29:11 -0700 (Sat, 14 Mar 2009)
New Revision: 6686
Log:
Updated the make html process, adding a new strip functionality that removes 
the date in each and every html autogenerated files. Now a constant message is 
displayed thus reducing drastically the size of future web updates.

Added:
   branches/branch-1.3/documentation/strip_tags
Modified:
   branches/branch-1.3/documentation/Makefile

Modified: branches/branch-1.3/documentation/Makefile
===================================================================
--- branches/branch-1.3/documentation/Makefile  2009-03-14 16:42:19 UTC (rev 
6685)
+++ branches/branch-1.3/documentation/Makefile  2009-03-14 20:29:11 UTC (rev 
6686)
@@ -271,6 +271,8 @@
        -$(RMDIR) html
        -$(INSTALL_DIR) html
        -$(DOXYDOC)
+       echo "Stripping HTML files..."
+       ./strip_tags
 
 #fltk.ps: $(HTMLFILES) $(IMAGEFILES)
 #      echo "Generating PostScript documentation..."

Added: branches/branch-1.3/documentation/strip_tags
===================================================================
--- branches/branch-1.3/documentation/strip_tags                                
(rev 0)
+++ branches/branch-1.3/documentation/strip_tags        2009-03-14 20:29:11 UTC 
(rev 6686)
@@ -0,0 +1,5 @@
+for f in html/*.html ; do
+  cat $f | sed 's/<!-- ... ... .*:..:.. ....\. -->/<!-- date removed for 
reducing unnecessary svn web updates  -->/' > $f.tmp
+  rm $f
+  mv $f.tmp $f
+done
\ No newline at end of file


Property changes on: branches/branch-1.3/documentation/strip_tags
___________________________________________________________________
Name: svn:executable
   + *

_______________________________________________
fltk-commit mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk-commit

Reply via email to