#Shell script for building and installing Emacs.
set EMACS
=/usr
/local
/emacs
/bin
/sed "s;/usr/local/emacs;$EMACS;" < src
/paths.h-dist
> src
/paths.h
if (`pwd` != `(cd $EMACS; pwd)`) then
echo mv `pwd` to
$EMACS failed--using
tar to copy.
tar cf
- . |
(cd $EMACS; umask 0; tar xf
-)
echo tar-copying
`pwd` to
$EMACS failed.
cp $EMACS/etc
/{ctags
,etags
} $BIN
mv $EMACS/src
/xemacs
$BIN/emacs
chmod 777 $BIN/{ctags
,etags
,emacs
}