EMACS = nemacs NEMACS = nemacs MULE = mule TLEL = tl-18.el tl-header.el tl-list.el tl-str.el signature.el TLELC = ${TLEL:el=elc} TMEL = tm-misc.el TMELC = ${TMEL:el=elc} TMMEL = tm-view.el tm-rmail.el tm-comp.el TMMELC = ${TMMEL:el=elc} TMVEL = tm-rich.el tm-vm.el TMVELC = ${TMVEL:el=elc} #TLDIR = $(HOME)/lib/emacs18/lisp #TMDIR = $(HOME)/lib/emacs18/lisp/tm TLDIR = /usr/local/lib/emacs/local.lisp TMDIR = /usr/local/lib/emacs/local.lisp/tm .SUFFIXES: .el .elc .el.elc: $(EMACS) -batch -q . -f batch-byte-compile $< all: $(TLELC) tl-nemacs.elc tl-mule.elc \ tiny-mime.elc $(TMELC) tm-nemacs.elc tm-mule.elc $(TMMELC) \ tm-mh-e.elc tm-gnus.elc $(TMVELC) $(TLELC): $(TLEL) tl-nemacs.elc: tl-nemacs.el tl-mule.elc: tl-mule.el tiny-mime.elc: tiny-mime.el $(TMELC): $(EMACS) -batch -q . -l tiny-mime -f batch-byte-compile $< tm-nemacs.elc: tm-nemacs.el $(NEMACS) -batch -q . -l tiny-mime -f batch-byte-compile $< tm-mule.elc: tm-mule.el $(MULE) -batch -q . -f batch-byte-compile $< $(TMMELC): $(EMACS) -batch -q . -l tiny-mime -l tm-misc -f batch-byte-compile $< tm-gnus.elc: tm-gnus.el $(EMACS) -batch -q . -l tiny-mime -l tm-misc -l gnus \ -f batch-byte-compile $< tm-mh-e.elc: tm-mh-e.el $(EMACS) -batch -q . -l tiny-mime -l tm-misc -l mh-e \ -f batch-byte-compile $< $(TMVELC): $(EMACS) -batch -q . -l tiny-mime -l tm-misc -l tm-view \ -f batch-byte-compile $< install: all tl-install tm-install tl-install: -chmod +w $(TLDIR)/*.el cp -p tl-*.el signature.el $(TLDIR) mv tl-*.elc signature.elc $(TLDIR) tm-install: -chmod +w $(TMDIR)/*.el cp -p tiny-mime.el tm-*.el mime-setup.el \ gnushook.el sc-setup.el $(TMDIR) mv tiny-mime.elc tm-*.elc $(TMDIR) clean: -rm *.elc