#
# Run this script with a command-line argument that is your project name.
#

if ($1 == "") then
  echo ""
  echo \
   "Run this script with the name of your project as the command-line argument"
  echo ""
  exit
endif

cd ~/work/$1/testing
mkdir design
mkdir design/javadoc
mkdir implementation
cd implementation
cp ~gfisher//classes/206/lib/waldorf-Makefiles/testing-Makefile Makefile
(cd ../../implementation; tar cf - source) | tar xvf -
foreach f (`find source \( -name '*.java' -o -name '*.html' -o -name CVS -o -name Makefile \) -print`)
    rm -rf $f
end
mkdir executables
mkdir executables/JVM
mkdir executables/JVM/output
mkdir executables/JVM/diffs
mkdir output-good
cd ..
cvs add design
cvs add design/javadoc
foreach f (`find implementation -type d -print`)
    cvs add $f
end
