#!/bin/csh -f

set nonomatch

foreach manfile (*/*.man)
  if ( ! -e ../doc/man/`basename $manfile` ) then
    echo "linking $manfile"
    rm -f ../doc/man/`basename $manfile`
    ln -s ../../acc/$manfile ../doc/man/
  endif
end

