#!/bin/csh -f

# Make a scratch directory to work in

mkdir scratch


# Copy everything in the release over

cp resources.html scratch
cp *.gif scratch
cp -r applets scratch
cp -r worksheets scratch
cp -r tutorials scratch

# Find all of the .html files and run them through make-telos

cd scratch
find . -name '*.html' -exec ../make-telos {} \;


# Create a tar file consisting of everything in scratch

#tar -cf ../maple-distribution.tar *
#cd ..
#gzip maple-distribution.tar


# Get rid of the scratch directory

#rm -r scratch


