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.

git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6686 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
This commit is contained in:
Fabien Costantini 2009-03-14 20:29:11 +00:00
parent 7c32ec2b94
commit 3ed30905a9
2 changed files with 7 additions and 0 deletions

View File

@ -271,6 +271,8 @@ html/index.html: $(HTMLFILES) $(IMAGEFILES) Doxyfile
-$(RMDIR) html -$(RMDIR) html
-$(INSTALL_DIR) html -$(INSTALL_DIR) html
-$(DOXYDOC) -$(DOXYDOC)
echo "Stripping HTML files..."
./strip_tags
#fltk.ps: $(HTMLFILES) $(IMAGEFILES) #fltk.ps: $(HTMLFILES) $(IMAGEFILES)
# echo "Generating PostScript documentation..." # echo "Generating PostScript documentation..."

5
documentation/strip_tags Executable file
View File

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