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]

PATCH: wwwdocs/bin/preprocess


Silently ignore .cvsignore files. Silently copy *.ps.gz files.
Fix the regular expression for matching ChangeLog files.

Installed.

Gerald

Index: bin/preprocess
===================================================================
RCS file: /cvs/gcc/wwwdocs/bin/preprocess,v
retrieving revision 1.17
diff -u -3 -p -r1.17 preprocess
--- preprocess	2001/03/23 19:22:21	1.17
+++ preprocess	2001/07/20 07:25:27
@@ -94,12 +94,12 @@ process_file()
     fi

     case $f in
-        */CVS)
+        */CVS|*/\.cvsignore)
             ;;
         *egcs-1.?/*)
             copy_if_different $f $DESTTREE/$f
             ;;
-        *\.txt|*\.ps|*\.pdf|*\.jpg|*\.jpeg|*\.png|*\.patch)
+        *\.txt|*\.ps|*\.ps\.gz|*\.pdf|*\.jpg|*\.jpeg|*\.png|*\.patch)
             copy_if_different $f $DESTTREE/$f
             ;;
         *.html)
@@ -119,7 +119,7 @@ process_file()
                 fi
             fi
             ;;
-        *\ChangeLog|*\.gif|*/.cvsignore|*/.#*)
+        */ChangeLog|*\.gif|*/\.#*)
             echo "  Warning: $f ignored."
             ;;
         *)


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