Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!uunet!husc6!rutgers!iuvax!pur-ee!uiucdcs!uiucdcsb!liberte From: liberte@uiucdcsb.cs.uiuc.edu Newsgroups: comp.emacs Subject: Re: disk space required for GNU Emacs Message-ID: <165400025@uiucdcsb> Date: Sun, 18-Oct-87 03:06:00 EDT Article-I.D.: uiucdcsb.165400025 Posted: Sun Oct 18 03:06:00 1987 Date-Received: Sun, 18-Oct-87 23:45:27 EDT References: <4444@spool.wisc.edu> Lines: 114 Nf-ID: #R:spool.wisc.edu:4444:uiucdcsb:165400025:000:3741 Nf-From: uiucdcsb.cs.uiuc.edu!liberte Oct 18 02:06:00 1987 To save disk space, and to make local distribution of emacs easier, I built the following Distfile for use with rdist. You'll have to customize it to your own needs. But let me know if you come up with major improvements. dan ---- cut ---- # rdist(1) distribution file for GNU Emacs on UIUC DCS machines # Execute in the root directory of emacs: /usr/local/lib/gnuemacs. # Use an rdist command like: "rdist -m horse local". # # Written by: # Dan LaLiberte # liberte@a.cs.uiuc.edu # uiucdcs!liberte # # # functions: # src: Install everything but the binaries to different kinds of # machines or development machines. # bin: Install the binaries for this kind of machine. # Do this before lib and info. # Bin machines should not be src machines and vice versa. # lib: Install the minimal gnuemacs library things to lib machines. # info: Install the minimal info files and lisp/*.el to info machines. # Gnuemacs works without the info files if space is tight. # local: Install the local directory to lib machines. # lisp: Install all lisp/* and lisp/term/* files and remove extras. # GNUEMACS_PATH = /usr/local/lib/gnuemacs #------------------- specify machine groups ---------------------- # # Don't include ME, cause that is where we are... ME = p # Modify the following two machine lists for other machines of this type. BINMACHS = ( ) INFOMACHS = ( ) # Every machine can be a lib machine. Also used for "local" distribution. LIBMACHS = ( a b c d e f g h i max mickey brutus horse ) # This source machine distributes source to other source machines. SRCMACHS = ( c max mickey brutus horse guitar ) #---------------- specify file groups ----------------------- # # Source is everything except binaries and objects and other junk. # Need to make sure paths.h is newer than paths.h.dist. But this wont do it. SRCFILES = ( * src/paths.h ) SRCJUNK = ( src/{emacs-*,temacs,xemacs,*.o} etc/DOC* ) BINFILES = ( src/xemacs ) LISP = ( lisp ) LISPel = ( lisp/*.el lisp/term/*.el ) LISPelc = ( lisp/COPYING lisp/term/COPYING \ lisp/*.elc lisp/term/*.elc lisp/site-init.el ) # The following code is included in emacs itself, and need not be copied. LISPelcEXTRA = ( abbrev.elc buff-menu.elc c-mode.elc files.elc fill.elc \ help.elc indent.elc isearch.elc lisp-mode.elc lisp.elc page.elc ) paragraphs.elc paths.el register.elc replace.elc simple.elc \ startup.elc subr.elc text-mode.elc window.elc ) ETCEXECUTABLES = ( test-distrib etags ctags loadst make-docfile \ digest-doc sorted-doc movemail cvtmail fakemail yow env \ server emacsclient ) ETCBIN = ( ctags cvtmail emacsclient env etags loadst movemail server yow) ETCDOC = ( DOC-* ) ETCFILES = ( etc/${ETCDOC} etc/${ETCBIN} ) INFOFILES = ( info etc/NEWS etc/TUTORIAL ) LOCALFILES = ( local local-test/{time.el} ) #------------------------- distribution functions ---------------- src: ${SRCFILES} -> ${SRCMACHS} except ${SRCJUNK} ; except etc/${ETCEXECUTABLES} ; except local-test ; except doc ; install -w ${GNUEMACS_PATH} ; # This puts xemacs in the src directory. You may want to install xemacs # in /usr/local/gnuemacs instead. # Remove any DOC files when installing a new binary. bin: ( READMEFIRST ${BINFILES} ) -> ${BINMACHS} install -w ${GNUEMACS_PATH} ; special src/xemacs "rm /usr/local/lib/gnuemacs/etc/DOC*" ; lib: ( ${ETCFILES} ${LISPelc} ) -> ${LIBMACHS} except ${LISPelcEXTRA} ; install -w -R ${GNUEMACS_PATH} ; info: ( ${INFOFILES} ${LISPel} ) -> ${INFOMACHS} install -w -R ${GNUEMACS_PATH} ; local: ( ${LOCALFILES} ) -> ${LIBMACHS} install -w ${GNUEMACS_PATH} ; # Use "lisp" to make sure there are no extra files on the destination machine. lisp: ( ${LISP} ) -> ${LIBMACHS} install -w -R ${GNUEMACS_PATH} ;