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


Further tweaks for the machinery:

  Add log message when copying binary files.
  Copy, don't preprocess files in our egcs-1.x subdirectories.

Installed.

Gerald

Index: preprocess
===================================================================
RCS file: /cvs/gcc/wwwdocs/bin/preprocess,v
retrieving revision 1.4
diff -c -3 -p -r1.4 preprocess
*** preprocess	2000/02/01 02:27:52	1.4
--- preprocess	2000/02/01 15:56:39
*************** for f in `find . \( -name CVS -prune \) 
*** 56,61 ****
--- 56,69 ----
      case $f in
          */CVS)
              ;;
+         *egcs-1.?/*)
+             cp $f $DESTTREE/$f
+             echo "  Copying $f";
+             ;;
+         *\.txt|*\.ps|*\.pdf|*\.jpg|*\.jpeg|*\.png|*/fsf-forms/*|*\.patch)
+             cp $f $DESTTREE/$f
+             echo "  Copying binary $f";
+             ;;
          *.html)
              # Prepend the MetaHTML style and process the page.
              cat $STYLE $f > $TMPDIR/input
*************** for f in `find . \( -name CVS -prune \) 
*** 66,74 ****
                  echo "  Updating $f"
                  cp $TMPDIR/output $DESTTREE/$f
              fi
-             ;;
-         *\.txt|*\.ps|*\.pdf|*\.jpg|*\.jpeg|*\.png|*/fsf-forms/*|*\.patch)
-             cp $f $DESTTREE/$f      
              ;;
          *\.gif)
              echo "  Warning: GIF file $f ignored."
--- 74,79 ----


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