This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[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)


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]