|
|
1.1 ! root 1: #!/bin/csh -fx ! 2: # ! 3: #Shell script for building and installing Emacs. ! 4: ! 5: #set EMACS=/usr/local/lib/emacs ! 6: #set BIN=/usr/local/bin ! 7: set EMACS=/usr/contrib/lib/emacs ! 8: set BIN=/usr/contrib ! 9: ! 10: /bin/sed "s;/usr/local/emacs;$EMACS;" < src/paths.h-dist > src/paths.h ! 11: ! 12: (cd etc; make) || exit 1 ! 13: (cd src; make) || exit 1 ! 14: ! 15: if (`pwd` != `(cd $EMACS; pwd)`) then ! 16: mv `pwd` $EMACS ! 17: if ($status) then ! 18: mkdir $EMACS ! 19: echo mv `pwd` to $EMACS failed--using tar to copy. ! 20: tar cf - . | (cd $EMACS; umask 0; tar xf -) ! 21: if ($status) then ! 22: echo tar-copying `pwd` to $EMACS failed. ! 23: exit 1 ! 24: endif ! 25: endif ! 26: endif ! 27: ! 28: cp $EMACS/etc/{ctags,etags} $BIN ! 29: mv $EMACS/src/xemacs $BIN/emacs ! 30: rm $EMACS/src/temacs ! 31: chmod 777 $BIN/{ctags,etags,emacs}
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.