#! /bin/csh 
#  Installation script
#
#  This is designed to be run from from the src2www/src2fm Makefile, not 
#  from the command line.  Usage: 
#    make configure  ## make sure you have edited Configuration first
#    make install    ## then this script installs accordingly
#
#BEGIN CONFIGURE
echo "Script  has not been configured"
echo 'Edit file "Configuration.src", save as "Configuration"'
echo '  and then type "make configure" '
echo '  (optionally followed by "make install" if you are '
echo '   installing in a different directory)'
exit(1)
#END CONFIGURE

###
###

echo "Moving executables and scripts to ${bindir}"
echo "(Note: Binaries and scripts should already be configured)"
foreach p ($*)
  if (! -f $p) then
	echo "$p is not present (it might not be part of your installation)"
  else
	echo "Moving $p to ${bindir}"
        /bin/mv -f $p ${bindir}
  endif
end
echo "Installation completed"

