#!/bin/csh
foreach file ( gpl.txt lgpl.txt  NOTICE NOTICE.html )
  if ( ! -e $file ) then
    ln -s ../$file $file
  endif
end
foreach file ( cif_core.dic.Z cif_mm.dic.Z )
  if ( ! -e $file ) then
    ln -s ../dictionaries/$file $file
  endif
end
if ( ! -e index.html ) then
  ln -s README.ciftbx.html index.html
endif
foreach file (*)
  if ( -d $file ) then
    if ( -e $file/.symlinks ) then
      (cd $file; source .symlinks)
    endif
  endif
end
