3 ;;; $Id: TM-CFG,v 6.0 1996/05/11 10:33:20 morioka Exp morioka $
6 (setq load-path (append
9 (expand-file-name path (getenv "PWD"))
11 '("." "../tl" "../mel" "mh-e")
18 ;;; @ Please specify optional package directory if you use them.
21 ;; Please specify VM path.
22 (add-path "vm-5.95beta" 'all-paths)
24 ;; Please specify Mailcrypt path.
25 (add-path "mailcrypt-3.4" 'all-paths)
27 ;; Please specify BBDB path.
28 (add-path "bbdb-1.50" 'all-paths)
34 ;; Please specify shell command path.
35 (setq SHELL "/bin/sh")
37 ;; Please specify shell command option.
38 (setq SHELLOPTION "-c")
41 ;;; @ Please specify prefix of install directory.
44 ;; Please specify install path prefix.
45 ;;(setq PREFIX "~/") ; install to you home directory
46 (setq PREFIX "/usr/local/") ; install to shared directory
47 ;;(setq PREFIX "/lab/local/")
49 ;; Please specify tm package prefix [optional]
50 (setq TM_PACKAGE_PREFIX "")
52 ;; Please specify tl prefix [optional]
53 ;;(setq TL_PREFIX "tl")
55 (if (string-match "XEmacs" emacs-version)
59 ;; Please specify MEL prefix [optional]
60 (setq MEL_PREFIX "mel")
62 ;; Please specify tm prefix [optional]
65 ;; lisp files of tm are installed into following directory tree:
67 ;; LISPDIR = PREFIX/DATA_PREFIX/LISP_PREFIX/
68 ;; LISPDIR/mime-setup.{el|elc}
69 ;; LISPDIR/TM_PACKAGE_PREFIX/TL_PREFIX/ --- tl lisp files
70 ;; LISPDIR/TM_PACKAGE_PREFIX/MEL_PREFIX/ --- MEL lisp files
71 ;; LISPDIR/TM_PACKAGE_PREFIX/TM_PREFIX/ --- tm lisp files
73 ;; For example, if PREFIX = "/usr/local/" and you use Emacs 19.30,
75 ;; LISPDIR = /usr/local/share/emacs/site-lisp/
76 ;; /usr/local/share/emacs/site-lisp/mime-setup.{el|elc}
77 ;; /usr/local/share/emacs/site-lisp/ --- tl lisp files
78 ;; /usr/local/share/emacs/site-lisp/mel/ --- MEL lisp files
79 ;; /usr/local/share/emacs/site-lisp/tm/ --- tm lisp files
81 ;; For example, if PREFIX = "~/" and you use XEmacs,
83 ;; LISPDIR = ~/share/xemacs/site-lisp/
84 ;; ~/share/xemacs/site-lisp/mime-setup.{el|elc}
85 ;; ~/share/xemacs/site-lisp/tl/ --- tl lisp files
86 ;; ~/share/xemacs/site-lisp/mel/ --- MEL lisp files
87 ;; ~/share/xemacs/site-lisp/tm/ --- tm lisp files
93 ;; Please specify binary path.
94 (defvar BIN_DIR (expand-file-name "bin" PREFIX))
96 ;; Please specify binary path. (for external method scripts)
97 (setq METHOD_DIR (expand-file-name "share/tm" PREFIX))
102 ;;; @ optional settings
106 (cond ((boundp 'NEMACS) "nemacs")
107 ((boundp 'MULE) "mule")
108 ((string-match "XEmacs" emacs-version) "xemacs")
113 (if (or (< emacs-major-version 19)
114 (< emacs-minor-version 29)
119 (setq DATADIR (expand-file-name DATA_PREFIX PREFIX))
122 (if (>= emacs-major-version 19)
126 (setq EMACS_DATADIR (expand-file-name EMACS_PREFIX DATADIR))
128 (defvar LISPDIR (expand-file-name LISP_PREFIX EMACS_DATADIR))
131 ;; Please specify mime-setup.{el|elc} install path.
132 (setq SETUP_FILE_DIR LISPDIR)
135 (setq TM_LISPDIR (expand-file-name TM_PACKAGE_PREFIX LISPDIR))
137 (setq TL_DIR (expand-file-name TL_PREFIX TM_LISPDIR))
138 (setq MEL_DIR (expand-file-name MEL_PREFIX TM_LISPDIR))
139 (setq TM_KERNEL_DIR (expand-file-name TM_PREFIX TM_LISPDIR))
140 (setq TM_MHE_DIR TM_KERNEL_DIR)
141 (setq TM_GNUS_DIR TM_KERNEL_DIR)
143 (setq TM_GNUS_INSTALL_FORMAT
144 "cd gnus; PWD=`pwd` make install-19 EMACS=%s TMDIR19=%s")
145 (setq TM_GNUS_COMPILE ".gnus-compile")
148 (setq el-file-mode (+ (* 64 6)(* 8 4) 4))
151 (setq BIN_SRC_DIR "src")
152 (setq BINS '("src/ol2" "src/decode-b"))
153 (setq METHOD_SRC_DIR "methods")
155 '("tm-au" "tm-file" "tm-html" "tm-image" "tm-mpeg" "tm-plain"