#!/bin/sh

# Author: Ben Wing <ben@xemacs.org>

# Generate and run correspondence scripts for the various versions of GNU
# Emacs.  This generates scripts to move the Lisp files in each version
# into an arrangement corresponding to the layout in 21.3.  This way, all
# the different versions can be compared using CVS.

. ./emacs-config

scriptd=`pwd`

for x in $emacsversions ; do
echo "Redoing layout for GNU Emacs $x"
cd $scriptd
./make-make-corr-1 $emacsorigroot/emacs-$x $emacsorigroot/emacs-$mostrecent > make-corr-$x
cd $emacsroot/emacs-$x/lisp
echo "Running make-corr-new-$x ..."
sh $scriptd/make-corr-new-$x
done
