3 ;;; $Id: TM-CFG,v 7.2 1996/08/16 03:55:42 morioka Exp morioka $
6 (defvar default-load-path load-path)
7 (setq load-path (append
10 (expand-file-name path (getenv "PWD"))
12 '("." "../tl" "../mel" "mh-e")
20 ;;; @ Please specify optional package directory if you use them.
23 ;; Please specify VM path.
24 (add-path "vm-5.95beta" 'all-paths)
26 ;; Please specify Mailcrypt path.
27 (add-path "mailcrypt-3.4" 'all-paths)
29 ;; Please specify BBDB path.
30 (add-path "bbdb-1.50" 'all-paths)
36 ;; Please specify shell command path.
37 (setq SHELL "/bin/sh")
39 ;; Please specify shell command option.
40 (setq SHELLOPTION "-c")
43 ;;; @ Please specify prefix of install directory.
46 ;; Please specify install path prefix.
48 (if (or running-emacs-18 running-xemacs)
49 (expand-file-name "../../.." exec-directory)
50 (expand-file-name "../../../.." data-directory)
51 )) ; install to shared directory (maybe "/usr/local")
52 ;;(setq PREFIX "~/") ; install to your home directory
54 ;; Please specify install path prefix for binaries.
56 (if (or running-emacs-18 running-xemacs)
57 (expand-file-name "../../.." exec-directory)
58 (expand-file-name "../../../.." exec-directory)
61 ;; Please specify tm package prefix [optional]
62 (setq TM_PACKAGE_PREFIX "")
64 ;; Please specify tl prefix [optional]
65 ;;(setq TL_PREFIX "tl")
67 (if (string-match "XEmacs" emacs-version)
71 ;; Please specify MEL prefix [optional]
72 (setq MEL_PREFIX "mel")
74 ;; Please specify tm prefix [optional]
77 ;; lisp files of tm are installed into following directory tree:
79 ;; LISPDIR = PREFIX/DATA_PREFIX/LISP_PREFIX/
80 ;; LISPDIR/mime-setup.{el|elc}
81 ;; LISPDIR/TM_PACKAGE_PREFIX/TL_PREFIX/ --- tl lisp files
82 ;; LISPDIR/TM_PACKAGE_PREFIX/MEL_PREFIX/ --- MEL lisp files
83 ;; LISPDIR/TM_PACKAGE_PREFIX/TM_PREFIX/ --- tm lisp files
85 ;; For example, if PREFIX = "/usr/local/" and you use Emacs 19.30,
87 ;; LISPDIR = /usr/local/share/emacs/site-lisp/
88 ;; /usr/local/share/emacs/site-lisp/mime-setup.{el|elc}
89 ;; /usr/local/share/emacs/site-lisp/ --- tl lisp files
90 ;; /usr/local/share/emacs/site-lisp/mel/ --- MEL lisp files
91 ;; /usr/local/share/emacs/site-lisp/tm/ --- tm lisp files
93 ;; For example, if PREFIX = "~/" and you use XEmacs,
95 ;; LISPDIR = ~/share/xemacs/site-lisp/
96 ;; ~/share/xemacs/site-lisp/mime-setup.{el|elc}
97 ;; ~/share/xemacs/site-lisp/tl/ --- tl lisp files
98 ;; ~/share/xemacs/site-lisp/mel/ --- MEL lisp files
99 ;; ~/share/xemacs/site-lisp/tm/ --- tm lisp files
105 ;; Please specify binary path.
106 (defvar BIN_DIR (expand-file-name "bin" EXEC_PREFIX))
108 ;; Please specify binary path. (for external method scripts)
109 (setq METHOD_DIR (expand-file-name "share/tm" PREFIX))
114 ;;; @ optional settings
118 (if (>= emacs-major-version 19)
125 (let ((rest default-load-path)
127 (while (setq dir (car rest))
130 "^" (expand-file-name (concat ".*/" LISP_PREFIX) PREFIX) "$")
132 (or (string-match (format "%d\\.%d"
134 emacs-minor-version) dir)
137 (setq rest (cdr rest))
139 (expand-file-name (concat
143 (cond ((boundp 'NEMACS) "nemacs/")
144 ((boundp 'MULE) "mule/")
153 ;; Please specify mime-setup.{el|elc} install path.
154 (setq SETUP_FILE_DIR LISPDIR)
156 (setq TM_LISPDIR (expand-file-name TM_PACKAGE_PREFIX LISPDIR))
158 (setq TL_DIR (expand-file-name TL_PREFIX TM_LISPDIR))
159 (setq MEL_DIR (expand-file-name MEL_PREFIX TM_LISPDIR))
160 (setq TM_KERNEL_DIR (expand-file-name TM_PREFIX TM_LISPDIR))
161 (setq TM_MHE_DIR TM_KERNEL_DIR)
162 (setq TM_GNUS_DIR TM_KERNEL_DIR)
164 (setq TM_GNUS_INSTALL_FORMAT
165 "cd gnus; PWD=`pwd` make install-19 EMACS=%s TMDIR19=%s")
166 (setq TM_GNUS_COMPILE ".gnus-compile")
169 (setq el-file-mode (+ (* 64 6)(* 8 4) 4))
172 (setq BIN_SRC_DIR "src")
173 (setq BINS '("ol2" "decode-b"))
174 (setq METHOD_SRC_DIR "methods")
176 '("tm-au" "tm-file" "tm-html" "tm-image" "tm-mpeg" "tm-plain"