#!/bin/sh
#
# copydocs
#
# copydocs document_root next_root
#
#
next_root=$2
document_root=$1
mkdir=mkdir
cp=$next_root/Developer/Executables/Utilities/cp

PATH=$2/Library/Executables\;$2/Developer/Executables/Utilities\;$PATH
export PATH
echo $PATH
sleep 2

#
# wo_root: document_root/WebObjects
#
wo_root=$document_root/WebObjects
$mkdir $wo_root

#
# document_src: /Documentation/Developer/WebObjects
#
document_src=$next_root/Documentation/Developer/WebObjects
document_dest=$wo_root/Documentation
$mkdir $document_dest

$cp -rp $document_src/WOPages $document_dest
$cp -p $document_src/WOHomePage.html $document_dest
