#!/bin/sh
#
if $1; then
 /bin/echo Re-processing sources for AFS...
 /bin/cat $2/makefile.afs $3/Makefile > $3/Makefile.afs
 /bin/rm $3/Makefile
 /bin/mv $3/Makefile.afs $3/Makefile
 for i in $3/log*.c; do
  /bin/rm $i
  /bin/cp $2/log_afs.c $i
 done
fi

exit 0
