This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
PATCH: wwwdocs/bin/preprocess
- To: gcc-patches at gcc dot gnu dot org
- Subject: PATCH: wwwdocs/bin/preprocess
- From: Gerald Pfeifer <pfeifer at dbai dot tuwien dot ac dot at>
- Date: Tue, 1 Feb 2000 16:58:01 +0100 (MET)
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 ----