File:  [CSRG BSD Unix] / 43BSDReno / contrib / emacs-18.55 / build-install.dist
Revision 1.1.1.1 (vendor branch): download - view: text, annotated - select for diffs
Tue Apr 24 16:12:56 2018 UTC (8 years, 1 month ago) by root
Branches: MAIN, BSD
CVS tags: HEAD, BSD43reno
BSD 4.3reno

#!/bin/csh -fx
#
#Shell script for building and installing Emacs.

#set EMACS=/usr/local/lib/emacs
#set BIN=/usr/local/bin
set EMACS=/usr/contrib/lib/emacs
set BIN=/usr/contrib

/bin/sed "s;/usr/local/emacs;$EMACS;" < src/paths.h-dist > src/paths.h

(cd etc; make) || exit 1
(cd src; make) || exit 1

if (`pwd` != `(cd $EMACS; pwd)`) then
  mv `pwd` $EMACS
  if ($status) then
    mkdir $EMACS
    echo mv `pwd` to $EMACS failed--using tar to copy.
    tar cf - . | (cd $EMACS; umask 0; tar xf -)
    if ($status) then
      echo tar-copying `pwd` to $EMACS failed.
      exit 1
    endif
  endif
endif

cp $EMACS/etc/{ctags,etags} $BIN
mv $EMACS/src/xemacs $BIN/emacs
rm $EMACS/src/temacs
chmod 777 $BIN/{ctags,etags,emacs}

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.