This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[wwwdocs] Add .svg to bin/preprocess
- From: Gerald Pfeifer <gerald at pfeifer dot com>
- To: gcc-patches at gcc dot gnu dot org
- Date: Sun, 30 Mar 2008 21:34:01 +0200 (CEST)
- Subject: [wwwdocs] Add .svg to bin/preprocess
Just a minor tweak I made. Also installed (and tested) on gcc.gnu.org.
Add .svg to the list of known extensions and create one sub-entry for all
graphics formats in process_file.
Gerald
Index: bin/preprocess
===================================================================
RCS file: /cvs/gcc/wwwdocs/bin/preprocess,v
retrieving revision 1.45
diff -u -3 -p -r1.45 preprocess
--- bin/preprocess 19 Aug 2007 22:04:49 -0000 1.45
+++ bin/preprocess 30 Mar 2008 19:29:24 -0000
@@ -168,7 +168,10 @@ process_file()
*\.css|*\.tmpl|*\.php|*\.js)
copy_if_different $f $DESTTREE/$f
;;
- *\.asc|*\.txt|*\.ps|*\.ps\.gz|*\.pdf|*\.jpg|*\.jpeg|*\.png|*\.ico|*\.patch|*\.diff)
+ *\.jpg|*\.jpeg|*\.png|*\.svg|*\.ico)
+ copy_if_different $f $DESTTREE/$f
+ ;;
+ *\.asc|*\.txt|*\.ps|*\.ps\.gz|*\.pdf|*\.patch|*\.diff)
copy_if_different $f $DESTTREE/$f
;;
java/papers/*\.html)