diff options
| author | Fabien Costantini <fabien@onepost.net> | 2009-03-14 20:29:11 +0000 |
|---|---|---|
| committer | Fabien Costantini <fabien@onepost.net> | 2009-03-14 20:29:11 +0000 |
| commit | 3ed30905a958548b91b3edfe43ad5b3333d773eb (patch) | |
| tree | fdfc9787baa80655cc4bb3a5397488aee3518a6d /documentation | |
| parent | 7c32ec2b945328b079d10987745150b5d29155a4 (diff) | |
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
Diffstat (limited to 'documentation')
| -rw-r--r-- | documentation/Makefile | 2 | ||||
| -rwxr-xr-x | documentation/strip_tags | 5 |
2 files changed, 7 insertions, 0 deletions
diff --git a/documentation/Makefile b/documentation/Makefile index a2a7d06a0..e494c16fd 100644 --- a/documentation/Makefile +++ b/documentation/Makefile @@ -271,6 +271,8 @@ html/index.html: $(HTMLFILES) $(IMAGEFILES) Doxyfile -$(RMDIR) html -$(INSTALL_DIR) html -$(DOXYDOC) + echo "Stripping HTML files..." + ./strip_tags #fltk.ps: $(HTMLFILES) $(IMAGEFILES) # echo "Generating PostScript documentation..." diff --git a/documentation/strip_tags b/documentation/strip_tags new file mode 100755 index 000000000..944ad417a --- /dev/null +++ b/documentation/strip_tags @@ -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 |
