#!/bin/csh 
#   setupRedirects

set TARGET = /usr/web/work/xml/jaxp-docs-1.1/docs/tutorial
set START  = `pwd`

#set DIR   = dom
#set FILES =         index.html
#set FILES = "$FILES 1_read.html"        
#set FILES = "$FILES 2_display.html"
#set FILES = "$FILES 2b_display.html"
#set FILES = "$FILES 3_tree.html"
#set FILES = "$FILES 4_create.html"
#set FILES = "$FILES 5_ns.html"
#
#cd ${TARGET}/${DIR}
#foreach FILE ($FILES)
#  cp ${START}/bin/redirect.html $FILE
#  sccs create $FILE
#  rm ,$FILE         # Remove backup copy 
#end

set DIR   = overview
set FILES =         index.html
set FILES = "$FILES 1_xml.html"
set FILES = "$FILES 2_specs.html"
set FILES = "$FILES 3_apis.html"
set FILES = "$FILES 3_apis_addlSAX.html"
set FILES = "$FILES 4_design.html"

cd ${TARGET}/${DIR}
foreach FILE ($FILES)
  cp ${START}/bin/redirect.html $FILE
  sccs create $FILE
  rm ,$FILE         # Remove backup copy 
end

